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