Click or drag to resize
MessageGetElementAsDate Method (String)

Note: This API is now obsolete.

Returns the value of the element having the specified name as a Date value. Deprecated, use GetElementAsDate(Name) instead.

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

Parameters

name
Type: SystemString
An element name.

Return Value

Type: Datetime
The value of the element having specified name as a Date value.
Exceptions
ExceptionCondition
NotFoundException This message does not contain an element having the specified name.
InvalidConversionException The value is not convertible to a Date value.
Remarks
See Also