ElementGetElementAsName Method (String) |
Note: This API is now obsolete.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.10.1
Syntax [ObsoleteAttribute("Deprecated, use GetElementAsName(Name) instead.")]
public abstract Name GetElementAsName(
string name
)
<ObsoleteAttribute("Deprecated, use GetElementAsName(Name) instead.")>
Public MustOverride Function GetElementAsName (
name As String
) As Name
public:
[ObsoleteAttribute(L"Deprecated, use GetElementAsName(Name) instead.")]
virtual Name^ GetElementAsName(
String^ name
) abstract
[<ObsoleteAttribute("Deprecated, use GetElementAsName(Name) instead.")>]
abstract GetElementAsName :
name : string -> Name
Parameters
- name
- Type: SystemString
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