<참조>(Visual Basic)

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

구문

<see cref="member"/>  

매개 변수

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

설명

텍스트 내에서 링크를 지정하려면 <see> 태그를 사용합니다. <seealso>를 사용하여 "참고 항목" 섹션에 표시할 텍스트를 지정합니다.

-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

참고 항목