Class Attributes
The following attributes apply to the class C++ keyword.
Attribute |
Description |
---|---|
Indicates that the class supports aggregation. |
|
Indicates that a control aggregates the target class. |
|
Identifies the coclass as an application object, which is associated with a full .exe application, and indicates that the functions and properties of the coclass are globally available in this type library. |
|
Used with the switch_type attribute in a union. |
|
Creates an ActiveX control. |
|
Adds an interface entry to a COM map. |
|
Specifies that the user-defined type is a control. |
|
Lets you define your own attribute. |
|
Creates an OLE DB command. |
|
Associates the specified member variable with an input or output parameter and delimits the variable. |
|
Creates a connection to a data source. |
|
Opens an OLE DB table. |
|
Indicates that the custom or dispinterface defined within a coclass represents the default programmability interface. |
|
Defines an interface as the default vtable interface for a control. |
|
Creates an event receiver. |
|
Creates an event source. |
|
Specifies a context ID that lets the user view information about this element in the Help file. |
|
Sets the name of the Help file for a type library. |
|
Specifies the ID of a help topic in an .hlp or .chm file. |
|
Specifies a character string that is used to describe the element to which it applies. |
|
Indicates that the item exists but should not be displayed in a user-oriented browser. |
|
Specifies dispatch interfaces that are forced to be members of the IDL coclass. |
|
Specifies implemented component categories for the class. |
|
Defines the library block in the .idl file. |
|
Defines an object that cannot be instantiated by itself. |
|
Adds performance monitor object support to a class. |
|
Adds performance monitor support to a class. |
|
Defines the ProgID for a control. |
|
Executes the specified registration script. |
|
Indicates that the property supports the OnRequestEdit notification. |
|
Specifies the control's source interfaces for connection points on a class. On a property or method, the source attribute indicates that the member returns an object or VARIANT that is a source of events. |
|
Supports error reporting for the target object. |
|
Specifies the threading model for a control. |
|
Specifies the unique ID for a class or interface. |
|
Identifies a particular version among multiple versions of a class. |
|
Specifies a version-independent form of the ProgID. |