Click to Rate and Give Feedback
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Visual Studio Team System
Using Annotations to Reduce C/C++ Code Defects

Annotations allow functions to explicitly state behavior. This additional information provided by the developer is used by the code analysis tool to detect violations of the contract between the caller and the callee. The annotation scheme is implemented as VC++ compiler attributes.

The following sections provide more information about attributes and how they are defined and applied.

In This Section

Annotation Overview

Learn about annotations, attributes, properties, and usage.

How to: Annotate C++ Code

Learn to annotate C/C++ code that is compiled by using /Tc, /Tp, /TC, /TP (Specify Source File Type) option.

How to: Annotate C Code

Learn to annotate C/C++ code that is compiled by using /Tc, /Tp, /TC, /TP (Specify Source File Type) option.

Annotation Properties

Lists and describes properties that can be used when annotating code.

Reference

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker