Click or drag to resize
ElementGetElementAsBool Method (String)

Note: This API is now obsolete.

Returns the value of the named sub-element as a boolean. Deprecated, use GetElementAsBool(Name) instead.

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
)

Parameters

name
Type: SystemString
The name of the required sub-element.

Return Value

Type: Boolean
The value of the named sub-element as a boolean.
Exceptions
ExceptionCondition
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