Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

'Is' requires operands that have reference types, but this operand has the value type '<typename>' 

The Is comparison operator determines whether two object variables refer to the same instance. This comparison is not defined for value types.

Error ID: BC30020

To correct this error

  • Use the appropriate arithmetic comparison operator or the Like operator to compare two value types.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft