ElementGetValueAsDatetime Method (Int32) |
Returns the value of this element at the specified index as a Datetime.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.10.1
Syntax public abstract Datetime GetValueAsDatetime(
int index
)
Public MustOverride Function GetValueAsDatetime (
index As Integer
) As Datetime
public:
virtual Datetime^ GetValueAsDatetime(
int index
) abstract
abstract GetValueAsDatetime :
index : int -> Datetime
Parameters
- index
- Type: SystemInt32
The index of the element whose value is requested.
Return Value
Type:
DatetimeThe value of the element at the specified index as a Datetime.
Exceptions Remarks
If the datatype of the element at the specified index is not Datetime,
this method attempts to convert it to a Datetime.
See Also