Returns the value of the named sub-element as a Name.
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)
- The name of the required sub-element.
Return Value
Name
The value of the named sub-element as a Name.
The value of the named sub-element as a Name.
Remarks
Same as calling GetElement(name).
GetValueAsName().
Exceptions
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