Name Property (CalendarView Object)

The Name property returns the display name of this CalendarView object. Read-only.

Syntax

objCalendarView.Name

Data Type

String

Remarks

The Name property represents the display name assigned to this calendar view. It can be used to refer to the calendar view, and to retrieve it by name using the container renderer's CurrentView property or the Views collection's Item property.

The names of the predefined calendar views are "Daily" for a view with mode CdoModeCalendarDaily and "Weekly" for a view with mode CdoModeCalendarWeekly. The mode of the view is available from its Mode property.

You should give every view object a unique name. CDO does not enforce uniqueness, but if a collection has duplicate names, only the first one can be found by name.