Siebel VB Language Reference > Siebel VB Language Reference >

Is Operator


Compares two object expressions and returns -1 if they refer to the same object, 0 otherwise.

Syntax

objectExpression Is objectExpression

Argument
Description
objectExpression
Any valid object expression

Returns

Not applicable

Usage

Is can also be used to test if an object variable has been set to Nothing.

Example

For examples of the Is operator, read CreateObject Function and GetObject Function.

See Also

CreateObject Function
GetObject Function
Me
Nothing Function
Object Class
Typeof Function


 Siebel VB Language Reference
 Published: 18 June 2003