Returns the value of the element having the specified name as
a boolean value.
| 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)
- An element name.
Boolean
The value of the element having specified name as a boolean value.
The value of the element having specified name as a boolean value.
Same as calling AsElement.
GetElementAsBool(name)
| Exception | Condition |
|---|---|
| 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.9.6.1