共用方式為


<para> (Visual Basic)

指定將內容格式化為段落。

語法

<para>content</para>  

參數

content
段落的文字。

備註

<para> 標記用於 <summary><remarks><returns> 這類標記,並可讓您新增文字的結構。

使用 -doc 編譯可處理檔案的文件註解。

範例

此範例會使用 <para> 標籤,將 UpdateRecord 方法的備註區段分割成兩個段落。

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

另請參閱