Click or drag to resize
ElementGetElement Method (String)

Note: This API is now obsolete.

Returns the named sub-element, creating it if it doesn't exist and this element is modifiable. Deprecated, use GetElement(Name) instead.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.19.2.1
Syntax
[ObsoleteAttribute("Deprecated, use GetElement(Name) instead.")]
public abstract Element GetElement(
	string name
)

Parameters

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

Return Value

Type: Element
The named sub-element.
Exceptions
ExceptionCondition
NotFoundException The named sub-element is not available.
NotSupportedException Called on non-sequence.
Remarks
This function looks up the named sub-element. If the name does not exist, then as a convenience this method creates the sub-element (if the element is modifiable) and returns the newly created sub-element.
See Also