Click or drag to resize
ElementSetChoice Method (Name)
Sets the named sub-element as the choice's selection.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.22.0.1
Syntax
public abstract Element SetChoice(
	Name name
)

Parameters

name
Type: Bloomberglp.BlpapiName
The name of the sub-element to set the choice to.

Return Value

Type: Element
The reference to the specified selection.
Exceptions
ExceptionCondition
NotSupportedException This element is not a choice or this element is read-only.
NotFoundException The named sub-element cannot be found.
Remarks
Note that if this choice element already contains a selection it is discarded and the choice's selection is set to the named sub-element.
See Also