Bloomberg API for .NET
GetElementAsDate Method (name)
NamespacesBloomberglp.BlpapiMessageGetElementAsDate(Name)
Returns the value of the element having the specified name as a Date value.
Declaration Syntax
C#Visual BasicVisual C++
public abstract Datetime GetElementAsDate(
	Name name
)
Public MustOverride Function GetElementAsDate ( 
	name As Name
) As Datetime
public:
virtual Datetime^ GetElementAsDate(
	Name^ name
) abstract
Parameters
name (Name)
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