X hits on this document

1080 views

0 shares

0 downloads

0 comments

352 / 396

Appendix ‎A   Documentation comments

public class MyClass { /// <remarks>Here is an example of a bulleted list: /// <list type="bullet"> /// <item> /// <description>Item 1.</description> /// </item> /// <item> /// <description>Item 2.</description> /// </item> /// </list> /// </remarks> public static void Main () { // ... } }

A.2.7

<para>

This tag is for use inside other tags, such as <remarks> (§‎A.2.11) or <returns>‎A.2.12), and permits structure to be added to text.

Syntax:

<para>content</para>

where

content

The text of the paragraph.

Example:

/// <summary>This is the entry point of the Point class testing program. /// <para>This program tests each method and operator, and /// is intended to be run after any non-trvial maintenance has /// been performed on the Point class.</para></summary> public static void Main() { // ... }

A.2.8

<param>

This tag is used to describe a parameter for a method, constructor, or indexer.

Syntax:

<param name="name">description</param>

where

name

The name of the parameter.

description

A description of the parameter.

Example:

Copyright Microsoft Corporation 1999-2003. All Rights Reserved.339

Document info
Document views1080
Page views1080
Page last viewedSun Dec 11 06:28:37 UTC 2016
Pages396
Paragraphs9401
Words133190

Comments