Returns the value of the element having the specified name as
a Datetime value.
Declaration Syntax
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
Parameters
- name (String)
- An element name.
Return Value
Datetime
The value of the element having specified name as a Datetime value.
The value of the element having specified name as a Datetime value.
Remarks
Same as calling AsElement.
GetElementAsDatetime(name)
Exceptions
Exception | Condition |
---|---|
NotFoundException |
This message does not contain an element having the specified name.
|
InvalidConversionException |
The value is not convertible to
a Datetime value.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1