Click or drag to resize
ElementGetValueAsDatetime Method
Returns the value of this element as a Datetime.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.13.2.1
Syntax
public abstract Datetime GetValueAsDatetime()

Return Value

Type: Datetime
The value of this element as a Datetime.
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionNumValues == 0.
InvalidConversionException The value of this element cannot be converted to a Datetime.
Remarks
Same as calling GetValueAsDatetime(0).
See Also