Type character cannot be used in a type parameter declaration

A type parameter declaration contains at least one identifier type character.

A type parameter of a generic type must be a valid Visual Basic name. The allowed characters do not include any of the identifier type characters (%, &, @, !, #, and $). See Declared Element Names.

Error ID: BC32041

To correct this error

  • Remove the type identifier character or characters from the type parameter declaration.

See Also

Concepts

Type Characters

Declared Element Names

Generic Types in Visual Basic

Reference

Type List