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