指定成员的备注节。
语法
<remarks>description</remarks>
参数
description
成员的说明。
注解
使用<remarks>
标记添加有关类型的信息,并补充摘要<>指定的信息。
此信息将显示在对象浏览器中。 有关对象浏览器的信息,请参阅 查看代码的结构。
使用 -doc 编译以处理对文件的文档注释。
示例:
此示例使用 <remarks>
标记来解释 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