ElementGetElementAsDatetime Method (Name) |
Returns the value of the named sub-element as a Datetime.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.2.1
Syntax public abstract Datetime GetElementAsDatetime(
Name name
)
Public MustOverride Function GetElementAsDatetime (
name As Name
) As Datetime
public:
virtual Datetime^ GetElementAsDatetime(
Name^ name
) abstract
abstract GetElementAsDatetime :
name : Name -> Datetime
Parameters
- name
- Type: Bloomberglp.BlpapiName
The name of the required sub-element.
Return Value
Type:
DatetimeThe value of the named sub-element as a Datetime.
Exceptions Exception | Condition |
---|
NotFoundException |
The named sub-element does not exist.
|
InvalidConversionException |
The value of the named sub-element cannot be converted to a Datetime.
|
NotSupportedException |
Called on non-complex type.
|
Remarks See Also