ElementGetValueAsBool Method (Int32) |
Returns the value of the element
at the specified index as a boolean.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.22.0.1
Syntax public abstract bool GetValueAsBool(
int index
)
Public MustOverride Function GetValueAsBool (
index As Integer
) As Boolean
public:
virtual bool GetValueAsBool(
int index
) abstract
abstract GetValueAsBool :
index : int -> bool
Parameters
- index
- Type: SystemInt32
The index of the element whose value is requested.
Return Value
Type:
BooleanThe value of the element at the specified index as a boolean.
Exceptions Remarks
If the datatype of the element at the specified index is not boolean,
this method attempts to convert it to a boolean.
See Also