Bloomberg API for .NET
GetElementAsDate Method (name)
NamespacesBloomberglp.BlpapiElementGetElementAsDate(String)
Returns the value of the named sub-element as a Date.
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)
The name of the required sub-element.
Return Value
Datetime
The value of the named sub-element as a Date.
Remarks
Exceptions
ExceptionCondition
NotFoundException The named sub-element does not exist.
InvalidConversionException The value of the named sub-element cannot be converted to a Date.
NotSupportedException Called on non-complex type.

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