Click or drag to resize
MessageGetElementAsName Method (String)
Returns the value of the element having the specified name as a Constant value.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.13.2.1
Syntax
public abstract Name GetElementAsName(
	string name
)

Parameters

name
Type: SystemString
An element name.

Return Value

Type: Name
The value of the element having specified name as a Constant value.
Exceptions
ExceptionCondition
NotFoundException This message does not contain an element having the specified name.
InvalidConversionException The value is not convertible to a Constant value.
Remarks
Same as calling AsElement. GetElementAsName(name).
See Also