次の方法で共有


<para> (Visual Basic)

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

構文

<para>content</para>  

パラメーター

content
段落のテキストです。

Remarks

<para> タグは、<para>、<、または > などのタグ内で使用し、テキストに構造を追加することができます。

コンパイル時に -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

関連項目