Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The access modifier Private is required in partial method declarations. The following example shows the use of Private in the method signature and its implementation.
' 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
Error ID: BC31431
To correct this error
- Change the access modifier to Private in the signature and implementation declarations.