ElementGetElement Method (Name) |
Returns the named sub-element, creating it if it doesn't exist and this
element is modifiable.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.4.1
Syntax public abstract Element GetElement(
Name name
)
Public MustOverride Function GetElement (
name As Name
) As Element
public:
virtual Element^ GetElement(
Name^ name
) abstract
abstract GetElement :
name : Name -> Element
Parameters
- name
- Type: Bloomberglp.BlpapiName
The name of the required sub-element.
Return Value
Type:
ElementThe named sub-element.
Exceptions Exception | Condition |
---|
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