Siebel VB Language Reference > Methods Reference for Siebel VB > Object Querying Methods >

Compare Object Expressions Operator


The Compare Object Expressions operator compares two object expressions. It returns one of the following values:

  • -1 (negative one). The object expressions reference the same object.
  • 0 (zero). The object expressions do not reference the same object.

You can use this method to determine if an object variable is set to Nothing. For more information, see Remove Object Method.

Format

objectExpression Is objectExpression

The following table describes the arguments that you can use with this method.

Argument
Description

objectExpression

Any valid object expression.

Example

For examples of using the Compare Object Expressions operator, see Date and Time Methods and Get COM Object Method.

Siebel VB Language Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.