Click or drag to resize
ElementGetElementAsName Method (String)

Note: This API is now obsolete.

Returns the value of the named sub-element as a Name. Deprecated, use GetElementAsName(Name) instead.

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
)

Parameters

name
Type: SystemString
The name of the required sub-element.

Return Value

Type: Name
The value of the named sub-element as a Name.
Exceptions
ExceptionCondition
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