COM Attributes

The COM attributes inject code to support numerous areas of COM development and .NET Framework common language runtime development. These areas range from custom interface implementation and support of existing interfaces to supporting stock properties, methods, and events. In addition, support can be found for composite and ActiveX control implementation.

Attribute Description
aggregatable Indicates that a control can be aggregated by another control.
aggregates Indicates that a control aggregates the target class.
coclass Creates a COM object, which can implement a COM interface.
com_interface_entry Adds an interface entry to a COM map.
implements_category Specifies implemented component categories for the class.
progid Defines the ProgID for a control.
rdx Creates or modifies a registry key.
registration_script Executes the specified registration script.
requires_category Specifies required component categories for the class.
support_error_info Supports error reporting for the target object.
synchronize Synchronizes access to a method.
threading Specifies the threading model for a COM object.
vi_progid Defines a version-independent ProgID for a control.

See also

Attributes by Group