此浏览器不再受支持。
请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。
“native_type”:本机类型不能从托管或 WinRT 类型“type”派生
本机类不能从托管或 WinRT 类继承。 有关更多信息,请参阅类和结构。
以下示例生成 C3625:
// C3625.cpp // compile with: /clr /c ref class B {}; class D : public B {}; // C3625 cannot inherit from a managed class
此页面是否有帮助?