This documentation is archived and is not being maintained.

Operators must be declared 'Public'

An Operator Statement does not include the Public (Visual Basic) keyword.

An Operator procedure requires both the Public and Shared (Visual Basic) keywords, and a conversion operator also requires either the Widening or the Narrowing keyword.

Error ID: BC33011

To correct this error

  • Add the Public keyword to the Operator statement.

Show: