Bloomberg API for .NET
HasElement Method (name, excludeNullElements)
NamespacesBloomberglp.BlpapiElementHasElement(String, Boolean)
Returns true if this element contains an element with the specified name.
Declaration Syntax
C#Visual BasicVisual C++
public abstract bool HasElement(
	string name,
	bool excludeNullElements
)
Public MustOverride Function HasElement ( 
	name As String,
	excludeNullElements As Boolean
) As Boolean
public:
virtual bool HasElement(
	String^ name, 
	bool excludeNullElements
) abstract
Parameters
name (String)
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.7.4.1