VB.net 2010 视频教程 VB.net 2010 视频教程 python基础视频教程
SQL Server 2008 视频教程 c#入门经典教程 Visual Basic从门到精通视频教程
当前位置:
首页 > VB.net教程 >
  • <para> (Visual Basic)

指定将内容格式化为段落。

<para>content</para>

参数

  • content
    段落文本。

备注

<para> 标记用于某个标记(例如 <summary> (Visual Basic)、<remarks> (Visual Basic) 或 <returns> (Visual Basic))内部,使您可以将结构添加到文本中。

使用 /doc 进行编译可以将文档注释处理到文件中。

示例

此示例使用 <para> 标记将 UpdateRecord 方法的备注部分拆分为两个段落。

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

 

原文链接:https://docs.microsoft.com/zh-cn/previous-versions/visualstudio/visual-studio-2010/ms172660(v=vs.100)

相关教程