Returns the value of this element as a boolean.
| C# | Visual Basic | Visual C++ |
public abstract bool GetValueAsBool()
Public MustOverride Function GetValueAsBool As Boolean
public: virtual bool GetValueAsBool() abstract
Boolean
The value of this element as a boolean.
The value of this element as a boolean.
Same as calling GetValueAsBool(0).
| Exception | Condition |
|---|---|
| IndexOutOfRangeException | NumValues == 0.
|
| InvalidConversionException |
The value of this element cannot be converted to a boolean.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1