'<specifier>' is not valid on a constant declaration

A Const statement contains an invalid keyword. A Const statement can include only the Friend, Private, Protected, Public, or Shadows keywords.

Error ID: BC30233

To correct this error

  1. Ensure that the keyword is spelled correctly.

  2. Remove the invalid keyword from the Const statement.

See Also

Reference

Const Statement (Visual Basic)