Compartilhar via


<seealso> (Visual Basic)

Specifies a link that appears in the See Also section.

<seealso cref="member"/>

Parâmetros

  • member
    A reference to a member or field that is available to be called from the current compilation environment. O compilador verifica se o elemento de código fornecido existe e passa member para o nome do elemento na saída XML. memberdeve aparecer entre aspas duplas (" ").

Comentários

Use the <seealso> tag to specify the text that you want to appear in a See Also section. Use < Consulte > (Visual Basic) to specify a link from within text.

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

Exemplo

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

Consulte também

Referência

Recomendado marcas XML para comentários da documentação (Visual Basic)