指定内容的格式为段落。
语法
<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