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

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