Bloomberg API for .NET
GetValueAsTime Method (index)
NamespacesBloomberglp.BlpapiElementGetValueAsTime(Int32)
Returns the value of this element at the specified index as a Time.
Declaration Syntax
C#Visual BasicVisual C++
public abstract Datetime GetValueAsTime(
	int index
)
Public MustOverride Function GetValueAsTime ( 
	index As Integer
) As Datetime
public:
virtual Datetime^ GetValueAsTime(
	int index
) abstract
Parameters
index (Int32)
The index of the element whose value is requested.
Return Value
Datetime
The value of the element at the specified index as 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.
Exceptions
ExceptionCondition
IndexOutOfRangeException index >= NumValues.
InvalidConversionException The value of the element at the specified index cannot be converted to a Time.

Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.9.6.1