分享方式:


編譯器警告 (層級 3) C4641

XML 文件註解有模稜兩可的交互參考

編譯器無法明確解析參考。 若要解決這個警告,請指定明確參考所需的參數資訊。

如需詳細資訊,請參閱 XML Documentation

範例

下列範例會產生 C4641。

// C4641.cpp
// compile with: /W3 /doc /clr /c

/// <see cref="f" />   // C4641
// try the following line instead
// /// <see cref="f(int)" />
public ref class GR {
public:
   void f( int ) {}
   void f( char ) {}
};