GetChoicesEx method
- Last UpdatedMar 10, 2026
- 1 minute read
Returns the available choices in for choice groups defined or owned by the selected object only. You can optionally include choice groups inherited from object wizards in the inheritance chain of the selected object. Enabling this option returns the same list of choices as the GetChoices method.
Class
IgObject
Syntax
[C#]
string[] GetChoicesEx(
string choiceGroup
bool includeInherited
);
[Visual C++]
HRESULT GetChoicesEx(
[in] BSTR choiceGroup,
[in] VARIANT_BOOL includeInherited,
[out, retval] SAFEARRAY(BSTR)* choiceslist
);
Parameters
choiceGroup
Name of the object wizard choice group
includeInherited
If true, choices inherited from object wizards in the inheritance chain of this object are included in the returned list of choices
If false, only choices contained in the specified choice group for this object are included in the returned list of choices
choiceslist
The returned list of choices contained in the specified choice group