This documentation is archived and is not being maintained.

Class in an interface cannot be declared '<specifier>'

An invalid modifier was specified with a class declared in an interface.

Error ID: BC31070

To correct this error

  • Remove modifiers such as Public, Private, Shared, Friend, Protected, Protected Friend, or Overridable.

Show: