Returns the value of the named sub-element as a Name.
| 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
- name (Name)
- The name of the required sub-element.
Name
The value of the named sub-element as a Name.
The value of the named sub-element as a Name.
Same as calling GetElement(name).
GetValueAsName().
| Exception | Condition |
|---|---|
| NotFoundException |
The named sub-element does not exist.
|
| InvalidConversionException |
The value of the named sub-element cannot be converted to a Name.
|
| NotSupportedException |
Called on non-complex type.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1