编译器警告(等级 3)C4637
XML 文档注释目标:已弃用 <include> 标记。 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