共用方式為


<remarks> 檔標籤

標記 <remarks> 是用來新增型別的相關資訊,並補充使用 <summary> 所指定的資訊。 這項資訊會顯示在物件瀏覽器和程式碼結構 Web 報告中。

語法

/// <remarks>description</remarks>

參數

description
成員的描述。

備註

使用 /doc 編譯 以處理檔案的檔批註。

範例

// xml_remarks_tag.cpp
// compile with: /LD /clr /doc
// post-build command: xdcmake xml_remarks_tag.dll

using namespace System;

/// <summary>
/// You may have some primary information about this class.
/// </summary>
/// <remarks>
/// You may have some additional information about this class.
/// </remarks>
public ref class MyClass {};

另請參閱

XML 檔