ElementGetElementAsDate Method (Name) |
Returns the value of the named sub-element as a Date.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.22.0.1
Syntax public abstract Datetime GetElementAsDate(
Name name
)
Public MustOverride Function GetElementAsDate (
name As Name
) As Datetime
public:
virtual Datetime^ GetElementAsDate(
Name^ name
) abstract
abstract GetElementAsDate :
name : Name -> Datetime
Parameters
- name
- Type: Bloomberglp.BlpapiName
The name of the required sub-element.
Return Value
Type:
DatetimeThe value of the named sub-element as a Date.
Exceptions Exception | Condition |
---|
NotFoundException |
The named sub-element does not exist.
|
InvalidConversionException |
The value of the named sub-element cannot be converted to a Date.
|
NotSupportedException |
Called on non-complex type.
|
Remarks See Also