'New' is not valid in this context

The New keyword occurs where a type name is required. The context calls for a value type that cannot be combined with New.

Error ID: BC30200

To correct this error

  • Remove the New keyword.

See Also

Reference

New (Visual Basic)

Enum Statement (Visual Basic)