<para> (Visual Basic)

指定将内容的格式设置为段落。

语法

<para>content</para>  

参数

content
段落文本。

备注

<para> 标记在标记内使用,例如 <para>、< 或 >,并且你可用它来向文本添加结构。

使用 -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

另请参阅