Bloomberg API for .NET
GetValueAsDatetime Method
NamespacesBloomberglp.BlpapiElementGetValueAsDatetime()()()()
Returns the value of this element as a Datetime.
Declaration Syntax
C#Visual BasicVisual C++
public abstract Datetime GetValueAsDatetime()
Public MustOverride Function GetValueAsDatetime As Datetime
public:
virtual Datetime^ GetValueAsDatetime() abstract
Return Value
Datetime
The value of this element as a Datetime.
Remarks
Same as calling GetValueAsDatetime(0).
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionNumValues == 0.
InvalidConversionException The value of this element cannot be converted to a Datetime.
See Also

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