<paramref> (Visual Basic)

Bir sözcüğü parametre olarak biçimlendirin.

Sözdizimi

<paramref name="name"/>  

Parametreler

name
Başvurulacak parametrenin adı. Adı çift tırnak işareti (" ") içine alın.

Açıklamalar

<paramref> etiketi, bir sözcüğün parametre olduğunu göstermek için size bir yol sağlar. XML dosyası, bu parametreyi farklı bir şekilde biçimlendirmek için işlenebilir.

Belge açıklamalarını bir dosyaya işlemek için -doc ile derleyin.

Örnek

Bu örnekte parametresine <paramref> başvurmak için id etiketi kullanılır.

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

Ayrıca bkz.