Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 1.79 KB

com-attributes.md

File metadata and controls

30 lines (26 loc) · 1.79 KB
description title ms.date helpviewer_keywords ms.assetid
Learn more about: COM Attributes
COM Attributes
10/03/2018
attributes [C++/CLI], reference topics
attributes [COM]
COM, attributes
52a5dd70-e8be-4bba-afd6-daf90fe689a0

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