Редактиране

Споделяне чрез


<seealso> (Visual Basic)

Specifies a link that appears in the See Also section.

Syntax

<seealso cref="member"/>  

Parameters

member
A reference to a member or field that is available to be called from the current compilation environment. The compiler checks that the given code element exists and passes member to the element name in the output XML. member must appear within double quotation marks (" ").

Remarks

Use the <seealso> tag to specify the text that you want to appear in a See Also section. Use <see> to specify a link from within text.

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

Example

This example uses the <seealso> tag in the DoesRecordExist remarks section to refer to the UpdateRecord method.

''' <param name="id">The ID of the record to update.</param>
''' <remarks>Updates the record <paramref name="id"/>.
''' <para>Use <see cref="DoesRecordExist"/> to verify that
''' the record exists before calling this method.</para>
''' </remarks>
Public Sub UpdateRecord(ByVal id As Integer)
    ' Code goes here.
End Sub
''' <param name="id">The ID of the record to check.</param>
''' <returns><c>True</c> if <paramref name="id"/> exists,
''' <c>False</c> otherwise.</returns>
''' <remarks><seealso cref="UpdateRecord"/></remarks>
Public Function DoesRecordExist(ByVal id As Integer) As Boolean
    ' Code goes here.
End Function

See also