Udostępnij za pośrednictwem


'Exit Operator' is not valid. Use 'Return' to exit an Operator

An Exit Operator statement appears in an Operator procedure.

You must use a Return Statement (Visual Basic) to return from an Operator procedure. The Exit Statement (Visual Basic) does not accept the Operator keyword, and the End Operator statement does not return control to the calling code.

Error ID: BC33008

To correct this error

  • Replace the Exit Operator statement with a Return statement.

See Also

Tasks

How to: Define an Operator

How to: Define a Conversion Operator

Concepts

Operator Procedures

Reference

Operator Statement