Specifiers and attributes are not valid on this statement

A declaration that cannot be modified, such as Inherits, contains one or more attributes, or one or more keywords such as Public or ReadOnly. Only modifiable declarations can contain such keywords or attributes.

Error ID: BC30193

To correct this error

  • Remove the attribute or keyword from the declaration.

See Also

Other Resources

Keywords (Visual Basic)

Attributes in Visual Basic