Bloomberg API for .NET
GetElementAsBool Method (name)
NamespacesBloomberglp.BlpapiElementGetElementAsBool(String)
Returns the value of the named sub-element as a boolean.
Declaration Syntax
C#Visual BasicVisual C++
public abstract bool GetElementAsBool(
	string name
)
Public MustOverride Function GetElementAsBool ( 
	name As String
) As Boolean
public:
virtual bool GetElementAsBool(
	String^ name
) abstract
Parameters
name (String)
The name of the required sub-element.
Return Value
Boolean
The value of the named sub-element as a boolean.
Remarks
Exceptions
ExceptionCondition
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.

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