IsSameAs Method (TableView Object)

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

Syntax

objTableView.IsSameAs(varView)

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.