다음을 통해 공유


'Implements' 문은 모든 'Inherits' 문 다음에 와야 하고 클래스의 모든 선언 앞에 와야 합니다.

업데이트: 2007년 11월

'Implements' statement must follow any 'Inherits' statement and precede all declarations in a class

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의 인터페이스