Bloomberg API for .NET
GetElementAsBool Method (name)
NamespacesBloomberglp.BlpapiMessageGetElementAsBool(String)
Returns the value of the element having the specified name as a boolean value.
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)
An element name.
Return Value
Boolean
The value of the element having specified name as a boolean value.
Remarks
Exceptions
ExceptionCondition
NotFoundException This message does not contain an element having the specified name.
InvalidConversionException The value is not convertible to a boolean value.

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