Edit

Share via


'<typename>' is a generic type and requires type arguments

A variable, procedure parameter, or function return is declared to have the type of a generic class or structure, but the declaration does not supply any type arguments.

By its nature, every generic class and structure is defined with at least one type parameter. When you use a generic type to declare a constructed class or structure, you must supply a type argument for every type parameter defined by the generic type.

Error ID: BC32076

To correct this error

  • Add a type list to the declaration, enclosed in parentheses and beginning with the Of keyword.

See also