Platform SDK: CDO 1.2.1

IsSameAs Method (TableView Object)

The IsSameAs method returns True if this TableView object is the same as the view object being compared against.

Syntax

boolSame = objTableView.IsSameAs(varView)

boolSame
On successful return, contains True if the two objects are the same.
objTableView
Required. This TableView object.
varView
Required. Object. The view object being compared against.

Remarks

The varView parameter should be declared as an Object rather than as a TableView. This allows for comparison among different classes of view objects being held in a Views collection.

Two view objects are considered to be the same if and only if their pointer values are the same, that is, if and only if they are the identical object. Otherwise IsSameAs returns False.