<para> (Visual Basic)

更新 : 2007 年 11 月

コンテンツが段落として書式設定されていることを示します。

<para>content</para>

パラメータ

  • content
    段落のテキスト。

解説

<para> タグは、<summary> (Visual Basic)<remarks> (Visual Basic)<returns> (Visual Basic) などのタグの中で使用され、テキストに構造体を追加します。

コンパイル時に /doc を指定してドキュメント コメントをファイルに出力します。

使用例

この例では、<para> タグを使用して、UpdateRecord メソッドの解説セクションを 2 つの段落に分割します。

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

参照

参照

ドキュメント コメントとして推奨される XML タグ (Visual Basic)