Click or drag to resize
ElementHasElement Method (String, Boolean)

Note: This API is now obsolete.

Returns true if this element contains an element with the specified name. Deprecated, use HasElement(Name, Boolean) instead.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.11.1
Syntax
[ObsoleteAttribute("Deprecated, use HasElement(Name, bool) instead.")]
public abstract bool HasElement(
	string name,
	bool excludeNullElements
)

Parameters

name
Type: SystemString
The name of the element whose existence is being queried.
excludeNullElements
Type: SystemBoolean
specifies if null elements are to be excluded while checking for presence of the Element specified by the name parameter

Return Value

Type: Boolean
true if an element with the specified name exists.
Exceptions
ExceptionCondition
NotSupportedException Called on non-sequence.
See Also