Interface members must be methods, properties, events, or type definitions

Only nested types, methods, properties, and events may be members of an interface.

Error ID: BC30602

To correct this error

  • Make sure the item is a method, property, event, or a nested type, such as an enumeration.

See Also

Concepts

Interface Definition