Click or drag to resize
ElementSetElement Method (String, Boolean)

Note: This API is now obsolete.

Sets the named sub-element to the specified value. Deprecated, use SetElement(Name, Boolean) instead.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.8.1
Syntax
[ObsoleteAttribute("Deprecated, use SetElement(Name, bool) instead.")]
public abstract void SetElement(
	string name,
	bool value
)

Parameters

name
Type: SystemString
The Name of the sub-element to set.
value
Type: SystemBoolean
The value to set to.
Exceptions
ExceptionCondition
NotFoundException The named sub-element cannot be found.
InvalidConversionException The element specified by name cannot be initialized with the specified value.
NotSupportedException This element is not a sequence or choice or if this element is read-only.
See Also