'AddressOf' ne peut pas être appliqué à 'NomMéthode', car 'NomMéthode' est une méthode partielle
Mise à jour : novembre 2007
'AddressOf' cannot be applied to 'methodname' because 'methodname' is a partial method
Une méthode partielle a été passée à l'opérateur AddressOf. Les méthodes partielles sont des valeurs non valides pour l'opérateur AddressOf.
ID d'erreur : BC31440
Pour corriger cette erreur
Ajoutez une méthode d'implémentation pour la méthode partielle. La méthode d'implémentation est une valeur valide pour l'opérateur AddressOf. L'exemple suivant affiche une signature de méthode partielle et son implémentation.
' 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