Returns the value of the named sub-element as a boolean.
| 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
- name (Name)
Boolean
The value of the named sub-element as a boolean.
The value of the named sub-element as a boolean.
Same as calling GetElement(name).
GetValueAsBool().
| 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.7.4.1