Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Attribute Requirements 

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.

NoteNote

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

Header

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

Project

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

Compiler

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

See Also

Community Additions

ADD
Show:
© 2015 Microsoft