ElementGetElementAsTime Method (String) |
Returns the value of the named sub-element as a Time.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.16.0.1
Syntax public abstract Datetime GetElementAsTime(
string name
)
Public MustOverride Function GetElementAsTime (
name As String
) As Datetime
public:
virtual Datetime^ GetElementAsTime(
String^ name
) abstract
abstract GetElementAsTime :
name : string -> Datetime
Parameters
- name
- Type: SystemString
The name of the required sub-element.
Return Value
Type:
DatetimeThe value of the named sub-element as a Time.
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.
|
Remarks See Also