| ElementGetElementAsBool Method (String) |
Note: This API is now obsolete.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.19.2.1
Syntax[ObsoleteAttribute("Deprecated, use GetElementAsBool(Name) instead.")]
public abstract bool GetElementAsBool(
string name
)<ObsoleteAttribute("Deprecated, use GetElementAsBool(Name) instead.")>
Public MustOverride Function GetElementAsBool (
name As String
) As Booleanpublic:
[ObsoleteAttribute(L"Deprecated, use GetElementAsBool(Name) instead.")]
virtual bool GetElementAsBool(
String^ name
) abstract
[<ObsoleteAttribute("Deprecated, use GetElementAsBool(Name) instead.")>]
abstract GetElementAsBool :
name : string -> bool
Parameters
- name
- Type: SystemString
The name of the required sub-element.
Return Value
Type:
BooleanThe value of the named sub-element as a boolean.
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.
|
Remarks
See Also