<seealso> (Visual Basic)

関連項目セクションに表示されるリンクを指定します。

構文

<seealso cref="member"/>  

パラメーター

member
現在のコンパイル環境からの呼び出しに利用できる、メンバーまたはフィールドへの参照。 コンパイラは、指定されたコード要素が存在するかどうかを確認し、member を出力 XML 内の要素名に渡します。 member は、二重引用符 (" ") で囲む必要があります。

Remarks

<seealso> タグを使用して、関連項目セクションに表示するテキストを指定します。 <see> タグを使用すると、テキスト内からリンクを指定できます。

コンパイル時に -doc を指定して、ドキュメント コメントをファイルに出力します。

この例では、DoesRecordExist 解説セクションの <seealso> タグを使用して、UpdateRecord メソッドを参照します。

''' <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

関連項目