Returns the named sub-element, creating it if it doesn't exist and this
element is modifiable.
| C# | Visual Basic | Visual C++ |
public abstract Element GetElement( Name name )
Public MustOverride Function GetElement ( name As Name ) As Element
public: virtual Element^ GetElement( Name^ name ) abstract
- name (Name)
- The name of the required sub-element.
Element
The named sub-element.
The named sub-element.
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.
| Exception | Condition |
|---|---|
| NotFoundException |
The named sub-element is not available.
|
| NotSupportedException |
Called on non-sequence.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1