ElementGetElementAsBool Method (Name) |
Returns the value of the named sub-element as a boolean.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.7.1
Syntax public abstract bool GetElementAsBool(
Name name
)
Public MustOverride Function GetElementAsBool (
name As Name
) As Boolean
public:
virtual bool GetElementAsBool(
Name^ name
) abstract
abstract GetElementAsBool :
name : Name -> bool
Parameters
- name
- Type: Bloomberglp.BlpapiName
Return Value
Type:
BooleanThe value of the named sub-element as a boolean.
Exceptions Exception | Condition |
---|
NotFoundException |
The named sub-element is not available.
|
InvalidConversionException |
The value of the named sub-element cannot be converted to a boolean.
|
NotSupportedException |
Called on non-complex type.
|
Remarks See Also