Bloomberg API for .NET
GetElement Method (name)
NamespacesBloomberglp.BlpapiElementGetElement(Name)
Returns the named sub-element, creating it if it doesn't exist and this element is modifiable.
Declaration Syntax
C#Visual BasicVisual C++
public abstract Element GetElement(
	Name name
)
Public MustOverride Function GetElement ( 
	name As Name
) As Element
public:
virtual Element^ GetElement(
	Name^ name
) abstract
Parameters
name (Name)
The name of the required sub-element.
Return Value
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
ExceptionCondition
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