Click or drag to resize
ElementGetValueAsBool Method
Returns the value of this element as a boolean.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.13.2.1
Syntax
public abstract bool GetValueAsBool()

Return Value

Type: Boolean
The value of this element as a boolean.
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionNumValues == 0.
InvalidConversionException The value of this element cannot be converted to a boolean.
Remarks
Same as calling GetValueAsBool(0).
See Also