Attribute Requirements


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

The requirements listed for C++ attributes describe the project types, compiler settings, and other information necessary for an attribute to work. The categories of information are described below.

System_CAPS_ICON_note.jpg Note

Using attributes on a class that derives from a class that also uses attributes is not supported.

This field lists the header files that must be included before an attribute can be used.

This field describes the project types in which an attribute can be used.

This field provides the compiler options that must be present for this attribute to be used.

Attribute Contexts
Attributes by Group