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( Name name )
Public MustOverride Function GetElementAsName ( name As Name ) As Name
public: virtual Name^ GetElementAsName( Name^ name ) abstract
Parameters
- name (Name)
- 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