C++ Attributes Reference


For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

Microsoft defines a set of attributes that simplify COM programming and .NET Framework common language runtime development. When you include attributes in your source files, the compiler works with provider DLLs to insert code or modify the code in the generated object files.

Note: If you are looking for C++ standard attributes, see Attributes.

Describes the various concepts that are related to attributes.

Attributes by Group
Provides links to attribute reference topics, grouped by function.

Attributes by Usage
Provides links to attribute reference topics, grouped by usage.

Attributes Alphabetical Reference
Provides links to all attribute reference topics.

Attributed Programming
Provides a conceptual overview of attributes.

Provides links to topics describing the C and C++ language references, the libraries provided with Visual C++, the Visual C++ Extensibility Object Model, and the Microsoft Macro Assembler (MASM).

Visual C++ Samples
Provides links to sample code showing the capabilities of Visual C++ and the libraries and technologies it supports.