Udostępnij za pośrednictwem


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.

See Also

Tasks

How to: Define an Operator

How to: Define a Conversion Operator

Concepts

Operator Procedures

Reference

Operator Statement