GetAssociatedAttributesOfChoiceEx method
- Last UpdatedMar 10, 2026
- 1 minute read
Returns the names of attributes associated with a given choice in the specified choice group for the selected object only. You can optionally include attributes inherited from object wizards in the inheritance chain of the selected object. Enabling this option returns the same list of attributes as the GetAssociatedAttributesOfChoice method.
Class
IgObject
Syntax
[C#]
string[] GetAssociatedAttributesofChoiceEx(
string choiceGroup,
string choice,
bool includeInherited
);
[Visual C++]
HRESULT GetAssociatedAttributesofChoiceEx(
[in] BSTR choiceGroup,
[in] BSTR choice,
[in] VARIANT_BOOL includeInherited,
[out, retval] SAFEARRAY(BSTR)* attributeslist
);
Parameters
choiceGroup
Name of the object wizard choice group
choice
Name of the object wizard choice within the choice group
includeInherited
If true, attributes for the specified choice inherited from object wizards in the inheritance chain of this object are included in the returned list of attributes
If false, only attributes associated with the choice for the selected object are included in the returned list of attributes
attributeslist
The returned list of attributes associated with the wizard choice