Returns the value of the element having the specified name as
a Constant value.
Declaration Syntax
C# | Visual Basic | Visual 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.
The value of the element having specified name as a Constant value.
Remarks
Same as calling AsElement.
GetElementAsName(name).
Exceptions
Exception | Condition |
---|---|
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.9.6.1