Returns the value of this element as a Datetime.
| C# | Visual Basic | Visual C++ |
public abstract Datetime GetValueAsDatetime()
Public MustOverride Function GetValueAsDatetime As Datetime
public: virtual Datetime^ GetValueAsDatetime() abstract
Datetime
The value of this element as a Datetime.
The value of this element as a Datetime.
Same as calling GetValueAsDatetime(0).
| Exception | Condition |
|---|---|
| IndexOutOfRangeException | NumValues == 0.
|
| InvalidConversionException |
The value of this element cannot be converted to a Datetime.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1