Condividi tramite


<para> (Visual Basic)

Specifica che il contenuto è formattato come paragrafo.

Sintassi

<para>content</para>  

Parametri

content
Testo del paragrafo.

Osservazioni:

Il tag <para> viene usato all'interno di un tag, ad esempio <summary>, <remarks> o <returns> e consente di aggiungere struttura al testo.

Compilare con -doc per elaborare i commenti relativi alla documentazione in un file.

Esempio

In questo esempio viene utilizzato il tag <para> per suddividere la sezione osservazioni per il metodo UpdateRecord in due paragrafi.

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

Vedi anche