Bloomberg API for .NET
GetElementAsDatetime Method (name)
NamespacesBloomberglp.BlpapiMessageGetElementAsDatetime(String)
Returns the value of the element having the specified name as a Datetime value.
Declaration Syntax
C#Visual BasicVisual C++
public abstract Datetime GetElementAsDatetime(
	string name
)
Public MustOverride Function GetElementAsDatetime ( 
	name As String
) As Datetime
public:
virtual Datetime^ GetElementAsDatetime(
	String^ name
) abstract
Parameters
name (String)
An element name.
Return Value
Datetime
The value of the element having specified name as a Datetime value.
Remarks
Exceptions
ExceptionCondition
NotFoundException This message does not contain an element having the specified name.
InvalidConversionException The value is not convertible to a Datetime value.

Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1