ElementGetElement Method (String) |
Note: This API is now obsolete.
Returns the named sub-element, creating it if it doesn't
exist and this element is modifiable.
Deprecated, use
GetElement(Name) instead.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.9.1
Syntax [ObsoleteAttribute("Deprecated, use GetElement(Name) instead.")]
public abstract Element GetElement(
string name
)
<ObsoleteAttribute("Deprecated, use GetElement(Name) instead.")>
Public MustOverride Function GetElement (
name As String
) As Element
public:
[ObsoleteAttribute(L"Deprecated, use GetElement(Name) instead.")]
virtual Element^ GetElement(
String^ name
) abstract
[<ObsoleteAttribute("Deprecated, use GetElement(Name) instead.")>]
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