Click or drag to resize
ElementGetElementAsDate Method (String)

Note: This API is now obsolete.

Returns the value of the named sub-element as a Date. Deprecated, use GetElementAsDate(Name) instead.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.4.1
Syntax
[ObsoleteAttribute("Deprecated, use GetElementAsDate(Name) instead.")]
public abstract Datetime GetElementAsDate(
	string name
)

Parameters

name
Type: SystemString
The name of the required sub-element.

Return Value

Type: Datetime
The value of the named sub-element as a Date.
Exceptions
ExceptionCondition
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