GetDefaultChoice method
- Last UpdatedMar 10, 2026
- 1 minute read
Returns the default choice for the specified choice group in the selected object.
Class
IgObject
Syntax
[C#]
string GetDefaultChoice(
string choiceGroup
);
[Visual C++]
HRESULT GetDefaultChoice(
[in] BSTR choiceGroup,
[out, retval] BSTR* defaultchoice
);
Parameters
choiceGroup
Name of the object wizard choice group
defaultchoice
The returned name of the choice set as default for the choice group