GetChoiceGroupsEx method
- Last UpdatedMar 10, 2026
- 1 minute read
Returns the available 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 choice groups as the GetChoiceGroups method, which includes choice groups inherited from parent objects.
Class
IgObject
Syntax
[C#]
string[] GetChoiceGroupsEx(
bool includeInherited
);
[Visual C++]
HRESULT GetChoiceGroupsEx(
[in] VARIANT_BOOL includeInherited,
[out, retval] SAFEARRAY(BSTR)* choicegroupslist
);
Parameters
includeInherited
If true, choice groups inherited from object wizards in the inheritance chain of this object are included in the returned list of choice groups
If false, only choice groups specific to this object are included in the returned list of choice groups
choicegroupslist
The returned list of choice groups contained in the object wizard