X hits on this document

1037 views

0 shares

0 downloads

0 comments

355 / 396

C# LANGUAGE SPECIFICATION

/// <summary>This method changes the point's location to ///the given coordinates.</summary> /// <see cref="Translate"/> public void Move(int xor, int yor) { X = xor; Y = yor; }

/// <summary>This method changes the point's location by ///the given x- and y-offsets. /// </summary> /// <see cref="Move"/> public void Translate(int xor, int yor) { X += xor; Y += yor; }

A.2.14

<seealso>

This tag allows an entry to be generated for the See Also section. Use <see>‎A.2.13) to specify a link from within text.

Syntax:

<seealso cref="member"/>

where

cref="member"

The name of a member. The documentation generator checks that the given code element exists and changes member to the element name in the generated documentation file.

Example:

/// <summary>This method determines whether two Points have the same ///location.</summary> /// <seealso cref="operator=="/> /// <seealso cref="operator!="/> public override bool Equals(object o) { // ... }

A.2.15

<summary>

This tag can be used to describe a member for a type. Use <remarks>‎A.2.11) to describe the type itself.

Syntax:

<summary>description</summary>

where

description

A summary of the member.

Example:

/// <summary>This constructor initializes the new Point to (0,0).</summary> public Point() : this(0,0) { }

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

Document info
Document views1037
Page views1037
Page last viewedSat Dec 10 07:11:53 UTC 2016
Pages396
Paragraphs9401
Words133190

Comments