ElementGetElement Method (String) |
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.18.1.1
Syntax public abstract Element GetElement(
string name
)
Public MustOverride Function GetElement (
name As String
) As Element
public:
virtual Element^ GetElement(
String^ name
) abstract
abstract GetElement :
name : string -> Element
Parameters
- name
- Type: SystemString
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