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 variable declared as nullable has been compared to an expression other than Nothing using the IsNot operator.
Error ID: BC32128
To correct this error
To compare a nullable type to an expression other than Nothing by using the IsNot operator, call the GetType method on the nullable type and compare the result to the expression, as shown in the following example.
Dim number? As Integer = 5 If number IsNot Nothing Then If number.GetType() IsNot Type.GetType("System.Int32") Then End If End If