Click or drag to resize
ElementHasElement Method (Name, Boolean)
Returns true if this element contains an element with the specified name.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.10.1
Syntax
public abstract bool HasElement(
	Name name,
	bool excludeNullElements
)

Parameters

name
Type: Bloomberglp.BlpapiName
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