ElementGetElementAsName Method (Name) |
Returns the value of the named sub-element as a Name.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.10.1
Syntax public abstract Name GetElementAsName(
Name name
)
Public MustOverride Function GetElementAsName (
name As Name
) As Name
public:
virtual Name^ GetElementAsName(
Name^ name
) abstract
abstract GetElementAsName :
name : Name -> Name
Parameters
- name
- Type: Bloomberglp.BlpapiName
The name of the required sub-element.
Return Value
Type:
NameThe value of the named sub-element as a Name.
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.
|
Remarks See Also