Bloomberg API for .NET
GetValueAsBool Method
NamespacesBloomberglp.BlpapiElementGetValueAsBool()()()()
Returns the value of this element as a boolean.
Declaration Syntax
C#Visual BasicVisual C++
public abstract bool GetValueAsBool()
Public MustOverride Function GetValueAsBool As Boolean
public:
virtual bool GetValueAsBool() abstract
Return Value
Boolean
The value of this element as a boolean.
Remarks
Same as calling GetValueAsBool(0).
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionNumValues == 0.
InvalidConversionException The value of this element cannot be converted to a boolean.
See Also

Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1