ElementGetElementAsBool Method (String) |
Returns the value of the named sub-element as a boolean.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.16.0.1
Syntax public abstract bool GetElementAsBool(
string name
)
Public MustOverride Function GetElementAsBool (
name As String
) As Boolean
public:
virtual bool GetElementAsBool(
String^ name
) abstract
abstract GetElementAsBool :
name : string -> bool
Parameters
- name
- Type: SystemString
The name of the required sub-element.
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