Click or drag to resize
ElementGetValueAsTime Method (Int32)
Returns the value of this element at the specified index as a Time.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.16.0.1
Syntax
public abstract Datetime GetValueAsTime(
	int index
)

Parameters

index
Type: SystemInt32
The index of the element whose value is requested.

Return Value

Type: Datetime
The value of the element at the specified index as a Time.
Exceptions
ExceptionCondition
IndexOutOfRangeException index >= NumValues.
InvalidConversionException The value of the element at the specified index cannot be converted to a Time.
Remarks
If the datatype of the element at the specified index is not Time, this method attempts to convert it to a Time.
See Also