Used to compare two object reference variables.
result = object1 Is object2
If object1 and object2 both refer to the same object, then result is true, otherwise result if false. Two variables can be made to refer to the same object in several ways.
In the following example, o1 has been set to refer to the same object as o2:
The following example makes o1 and o2 refer to the same object as o3:
The example for testing the returned Nothing value:
' ... error