<param>(Visual Basic)
매개 변수 이름과 설명을 정의합니다.
<param name="name">description</param>
매개 변수
name
메서드 매개 변수의 이름입니다. name은 큰따옴표(" ")로 묶습니다.description
매개 변수에 대한 설명입니다.
설명
메서드의 매개 변수 중 하나를 설명하려면 메서드 선언의 주석에서 <param> 태그를 사용해야 합니다.
<param> 태그의 텍스트는 매개 변수 정보과 개체 브라우저에 표시됩니다.
/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