매개 변수 이름 및 설명을 정의합니다.
문법
<param name="name">description</param>
매개 변수
name
메서드 매개 변수의 이름입니다. 이름을 큰따옴표(" ")로 묶습니다.
description
매개 변수에 대한 설명입니다.
비고
<param> 태그는 메서드의 매개 변수 중 하나를 설명하기 위해 메서드 선언에 대한 주석에서 사용해야 합니다.
태그의 <param> 텍스트는 다음 위치에 표시됩니다.
IntelliSense의 매개 변수 정보입니다. 자세한 내용은 Using IntelliSense을 참조하세요.
개체 브라우저. 자세한 내용은 코드 구조 보기를 참조하세요.
-doc를 사용하여 컴파일하여 파일에 대한 설명서 주석을 처리합니다.
예시
이 예제에서는 태그를 <param> 사용하여 매개 변수를 설명합니다 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