Click or drag to resize
MessageGetElementAsDatetime Method (String)

Note: This API is now obsolete.

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

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

Parameters

name
Type: SystemString
An element name.

Return Value

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