'Implements' 陳述式必須位在所有 'Inherits' 陳述式之後,並且必須在類別中的所有宣告之前

更新:2007 年 11 月

在無效的位置發現 Implements 陳述式。

錯誤 ID:BC31053

若要更正這個錯誤

  • 請將 Implements 陳述式緊接著放在所有 Inherits 陳述式之後,但是要放在所有宣告之前。例如:

    Class Derived
       Inherits Base
       Implements One
       Sub SubOne() Implements One.Method1
          ' Add code to implement the method.
       End Sub
    End Class
    

請參閱

參考

Implements (Visual Basic)

其他資源

Visual Basic 中的介面