共用方式為


<remarks> (Visual C++)

<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 文件 (Visual C++)