Bloomberg API for .NET
HasElement Method (name, excludeNullElements)
NamespacesBloomberglp.BlpapiElementHasElement(Name, Boolean)
Returns true if this element contains an element with the specified name.
Declaration Syntax
C#Visual BasicVisual C++
public abstract bool HasElement(
	Name name,
	bool excludeNullElements
)
Public MustOverride Function HasElement ( 
	name As Name,
	excludeNullElements As Boolean
) As Boolean
public:
virtual bool HasElement(
	Name^ name, 
	bool excludeNullElements
) abstract
Parameters
name (Name)
The name of the element whose existence is being queried.
excludeNullElements (Boolean)
specifies if null elements are to be excluded, while checking for presence of the Element specified by the name parameter
Return Value
Boolean
true if an element with the specified name exists.
Exceptions
ExceptionCondition
NotSupportedException Called on non-sequence.

Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.9.6.1