Click or drag to resize
MessageGetElementAsDatetime Method (Name)
Returns the value of the element having the specified name as a Datetime value.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.10.1
Syntax
public abstract Datetime GetElementAsDatetime(
	Name name
)

Parameters

name
Type: Bloomberglp.BlpapiName
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