Platform SDK: CDO 1.2.1

IsSameAs Method (CalendarView Object)

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

Syntax

boolSame = objCalendarView.IsSameAs(varView)

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

Remarks

The varView parameter should be declared as an Object rather than as a CalendarView. 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.