부분 메서드에 빈 메서드 본문이 있어야 합니다.
업데이트: 2007년 11월
Partial methods must have empty method bodies
부분 메서드 시그니처 선언의 본문에는 코드를 포함할 수 없습니다. 다음 예제에서는 부분 메서드 시그니처와 해당 구현을 보여 줍니다.
' Definition of the partial method signature.
Partial Private Sub OnNameChanged()
' The body of the signature is empty.
End Sub
' Implementation of the partial method.
Private Sub OnNameChanged()
MsgBox("Name was changed to " & Me.Name)
End Sub
오류 ID: 31435
이 오류를 해결하려면
- 부분 메서드 선언에서 모든 코드를 제거합니다.