已不再支援此瀏覽器。
請升級至 Microsoft Edge,以利用最新功能、安全性更新和技術支援。
'type1': ref 類別不可從 'type1' 繼承
System::ValueType 不能是參考類型的基底類別。
System::ValueType
下列範例會產生 C3050:
// C3050.cpp // compile with: /clr /LD ref struct X : System::ValueType {}; // C3050 ref struct Y {}; // OK
此頁面對您有幫助嗎?