Annotation Wizard - Page 1

To access this dialog box: in the Visual Studio code editor, right-click to open the context menu, and select > Annotation Wizard.

The Annotation Wizard helps you add annotations into your code. After you are done adding annotations, rebuild your program.

Use page 1 of the wizard to select the type of annotation from the Choose the annotation type drop down list.

The wizard shows the annotation line(s) that will be added into your code, in red font.

  • For annotations that have start and end lines, it adds them around your selected code lines with placeholders for the parameters.

  • For annotations that have only one line, it adds that annotation line before your selected code line, with placeholders for the parameters.

After choosing the annotation type, click Next to go to the next wizard page and fill in the parameters for the annotation.

For more complete information about compiler optimizations, see our Optimization Notice.