結構不可以有 'Inherits' 陳述式

更新:2007 年 11 月

不同於類別,結構並不支援繼承 (Inheritance)。

錯誤 ID︰BC30628

若要更正這個錯誤

  • 請移除結構中的 Inherits 陳述式。

  • 請重新設計應用程式改為使用類別。

請參閱

概念

結構和類別

其他資源

結構:您自己的資料型別