共用方式為


編譯器警告 (層級 3) C4637

XML 檔批註目標: < 包含 > 捨棄的標記。 reason

include > 標記的 < 語法不正確。

下列範例會產生 C4637:

// C4637.cpp
// compile with: /clr /doc /LD /W3
using namespace System;

/// Text for class MyClass.
public ref class MyClass {
public:
   /// <include file="c:\davedata\jtest\xml_include.doc"/>
   // Try the following line instead:
   // /// <include file='xml_include.doc' path='MyDocs/MyMembers/*' />
   void MyMethod() {
   }
};   // C4637