ElementGetElementAsDatetime Method (String) |
Note: This API is now obsolete.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.4.1
Syntax [ObsoleteAttribute("Deprecated, use GetElementAsDatetime(Name) instead.")]
public abstract Datetime GetElementAsDatetime(
string name
)
<ObsoleteAttribute("Deprecated, use GetElementAsDatetime(Name) instead.")>
Public MustOverride Function GetElementAsDatetime (
name As String
) As Datetime
public:
[ObsoleteAttribute(L"Deprecated, use GetElementAsDatetime(Name) instead.")]
virtual Datetime^ GetElementAsDatetime(
String^ name
) abstract
[<ObsoleteAttribute("Deprecated, use GetElementAsDatetime(Name) instead.")>]
abstract GetElementAsDatetime :
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 Datetime.
Exceptions Exception | Condition |
---|
NotFoundException |
The named sub-element does not exist.
|
InvalidConversionException |
The value of the named sub-element cannot be converted to a Datetime.
|
NotSupportedException |
Called on non-complex type.
|
Remarks See Also