<see>(Visual Basic)

업데이트: 2007년 11월

다른 멤버에 대한 링크를 지정합니다.

<see cref="member"/>

매개 변수

  • member
    현재 컴파일 환경에서 호출될 수 있는 멤버 또는 필드에 대한 참조입니다. 컴파일러는 지정된 코드 요소가 존재하고 출력 XML에서 member가 요소 이름으로 전달되는지 확인합니다. member는 큰따옴표(" ")로 묶어야 합니다.

설명

텍스트 내부에서 링크를 지정하려면 <see> 태그를 사용합니다. "참고 항목" 부분에 나타나는 텍스트를 지정하려면 <seealso>(Visual Basic)를 사용합니다.

/doc로 컴파일하여 문서 주석을 파일로 저장합니다.

예제

이 예제에서는 UpdateRecord 설명 부분에서 <see> 태그를 사용하여 DoesRecordExist 메서드를 참조합니다.

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

참고 항목

참조

문서 주석에 대한 권장 XML 태그(Visual Basic)