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.15.0.1
Syntax public abstract Element SetChoice(
Name name
)
Public MustOverride Function SetChoice (
name As Name
) As Element
public:
virtual Element^ SetChoice(
Name^ name
) abstract
abstract SetChoice :
name : Name -> Element
Parameters
- name
- Type: Bloomberglp.BlpapiName
The name of the sub-element to set the choice to.
Return Value
Type:
ElementThe reference to the specified selection.
Exceptions 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