aggregatable attribute
The [aggregatable] attribute indicates that the class supports aggregation.
[
coclass-attribute-list,
aggregatable
]
coclass coclass-name
{
coclass-interface-list
}
-
coclass-attribute-list
-
Other attributes that apply to the class.
-
coclass-name
-
The name of the class.
-
coclass-interface-list
-
A list of interfaces for the class.
Use the [aggregatable] attribute on a coclass statement to let users know that the class supports aggregations. That is, the class allows its interfaces to be exposed by a container class as if these interfaces were the container's own interfaces.
The typeflag representation for this attribute is TYPEFLAG_FAGGREGATABLE.
[
uuid(1e196b20-1f3c-1069-996b-00dd010fe676),
aggregatable
]
coclass Form
{
[default] interface IForm;
[default, source] interface IFormEvents;
}