Returns the value of the element having the specified name as
a Time value.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public abstract Datetime GetElementAsTime( Name name )
Public MustOverride Function GetElementAsTime ( name As Name ) As Datetime
public: virtual Datetime^ GetElementAsTime( Name^ name ) abstract
Parameters
- name (Name)
- An element name.
Return Value
Datetime
The value of the element having specified name as a Time value.
The value of the element having specified name as a Time value.
Remarks
Same as calling AsElement.
GetElementAsTime(name)
Exceptions
Exception | Condition |
---|---|
NotFoundException |
This message does not contain an element having the specified name.
|
InvalidConversionException |
The value is not convertible to
a Time value.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.9.6.1