已不再支援此瀏覽器。
請升級至 Microsoft Edge,以利用最新功能、安全性更新和技術支援。
'constructor' :介面不能有建構函式
Visual C++ 介面 不能有建構函式。
下列範例會產生 C2846:
// C2846.cpp // compile with: /c __interface C { C(); // C2846 constructor not allowed in an interface };
此頁面對您有幫助嗎?