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
)
Public MustOverride Function HasElement (
name As Name,
excludeNullElements As Boolean
) As Boolean
public:
virtual bool HasElement(
Name^ name,
bool excludeNullElements
) abstract
abstract HasElement :
name : Name *
excludeNullElements : bool -> bool
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:
Booleantrue if an element with the specified name exists.
Exceptions Exception | Condition |
---|
NotSupportedException |
Called on non-sequence.
|
See Also