We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

Attributes by Group

The C++ attributes are organized into the following functional groups.



COM Attributes

Inject code to support numerous areas of COM development and .NET Framework common language runtime development.

IDL Attributes

Enable the modification of the .idl file from a source code file without the use of a wizard and without knowledge of the structure and syntax of that file.

OLE DB Consumer Attributes

Inject code—based on the OLE DB Consumer Templates—to create a working OLE DB consumer that performs tasks such as opening tables, executing commands, and accessing data.

Compiler Attributes

Supplied by the Visual C++ compiler.

For information about how to define custom attributes for your .NET Framework application, see User-Defined Attributes (C++ Component Extensions).