Edit

(Visual Basic)

Specifies the summary of the member.

Syntax

description  

Parameters

description
A summary of the object.

Remarks

Use the

tag to describe a type or a type member. Use to add supplemental information to a type description.

The text for the

tag is the only source of information about the type in IntelliSense, and is also displayed in the Object Browser. For information about the Object Browser, see Viewing the Structure of Code.

Compile with -doc to process documentation comments to a file.

Example

This example uses the

tag to describe the ResetCounter method and Counter property.

''' 
''' Resets the value of the Counter field.
''' 
Public Sub ResetCounter()
    counterValue = 0
End Sub
Private counterValue As Integer = 0
''' 
''' Returns the number of times Counter was called.
''' 
''' Number of times Counter was called.
Public ReadOnly Property Counter() As Integer
    Get
        counterValue += 1
        Return counterValue
    End Get
End Property

See also