Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A type parameter is used as an operand for the Is Operator when the type parameter is defined without either the Class (Visual Basic) keyword or a specific class name in its constraint list.
Is compares two reference types to determine whether they point to the same object instance in memory. It cannot take an operand that is not a reference type unless the other operand is Nothing.
Error ID: BC32052
To correct this error
If you can require that the type argument supplied to this type parameter always be a reference type, add either the
Classkeyword or a specific class name to the constraint list for the type parameter.If you cannot require that the type argument supplied to this type parameter always be a reference type, remove it from the
Isexpression. You cannot compare it to other reference types with theIsoperator.