Edit

Share via


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.

See also