<paramref> (Visual Basic)
단어의 서식을 매개 변수로 지정합니다.
구문
<paramref name="name"/>
매개 변수
name
참조할 매개 변수의 이름입니다. 이름을 큰따옴표(“ ”)로 묶습니다.
설명
<paramref>
태그는 단어가 매개 변수임을 나타내는 방법을 제공합니다. XML 파일을 처리하여 이 매개 변수의 형식을 고유하게 지정할 수 있습니다.
-doc로 컴파일하여 문서 주석을 파일로 처리합니다.
예시
이 예제에서는 <paramref>
태그를 사용하여 id
매개 변수를 참조합니다.
''' <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
참고 항목
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET