Is (Visual Basic)

Introduces an Is clause that makes a comparison.


The Is keyword is used with the TypeOf keyword in a TypeOf...Is expression to test whether the run-time type of an expression is compatible with a given type.

The Is keyword can be used in these contexts:

Is Operator

Select...Case Statement

See Also


TypeOf Operator (Visual Basic)

Visual Basic Language Keywords