Returns the value of the named sub-element as a Datetime.
| C# | Visual Basic | Visual C++ |
public abstract Datetime GetElementAsDatetime( string name )
Public MustOverride Function GetElementAsDatetime ( name As String ) As Datetime
public: virtual Datetime^ GetElementAsDatetime( String^ name ) abstract
- name (String)
- The name of the required sub-element.
Datetime
The value of the named sub-element as a Datetime.
The value of the named sub-element as a Datetime.
Same as calling GetElement(name).
GetValueAsDatetime().
| Exception | Condition |
|---|---|
| NotFoundException |
The named sub-element does not exist.
|
| InvalidConversionException |
The value of the named sub-element cannot be converted to a Datetime.
|
| NotSupportedException |
Called on non-complex type.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1