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

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