Delen via


No accessible non-generic '<procedurename>' found

A statement calls a procedure that has more than one overloaded version, but all the overloaded versions are generic and the call does not supply type arguments.

If there is only one generic version and you call it without type arguments, the compiler can attempt type inference. For more information, see "Type Inference" in Generic Procedures in Visual Basic. However, if there is more than one generic version, the compiler is not able to choose among them unless you supply type arguments. If you supply one type argument, you must supply a type argument for every type parameter that one of the overloaded versions defines.

Error ID: BC32117

To correct this error

  • Call the procedure with a type argument list.

See Also

Concepts

Procedure Overloading

Generic Types in Visual Basic

Generic Procedures in Visual Basic

Reference

Overloads