指定出現在 [另請參閱] 區段中的連結。
語法
<seealso cref="member"/>
參數
member
可從目前編譯環境呼叫之成員或欄位的參考。 編譯器會檢查指定的程式碼項目是否存在,並將 member 傳遞給輸出 XML 中的項目名稱。
member 必須在雙引號內出現 (“ ” )。
備註
使用標記 <seealso> 來指定您想要出現在 [另見] 區段中的文字。 使用 <see>,以在文字內指定連結。
使用 -doc 編譯以處理檔案的檔批注。
範例
此範例會 <seealso> 使用一節中的 DoesRecordExist 標記來參考 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