'Inherits' 只可以在 'Class' 陳述式中出現一次,並且只能指定一個類別

更新:2007 年 11 月

相同的類別中出現一個以上的 Inherits 陳述式,或是 Inherits 陳述式指定一個以上的類別。類別只能從一個基底類別繼承。

錯誤 ID︰BC30121

若要更正這個錯誤

  • 移除任何額外的 Inherits 陳述式,以及確定其餘的 Inherits 陳述式只指定一個基底類別。

請參閱

概念

繼承基本概念

參考

Inherits 陳述式