Returns the value of the named sub-element as a boolean.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public abstract bool GetElementAsBool( Name name )
Public MustOverride Function GetElementAsBool ( name As Name ) As Boolean
public: virtual bool GetElementAsBool( Name^ name ) abstract
Parameters
- name (Name)
Return Value
Boolean
The value of the named sub-element as a boolean.
The value of the named sub-element as a boolean.
Remarks
Same as calling GetElement(name).
GetValueAsBool().
Exceptions
Exception | Condition |
---|---|
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