Partager via


CalendarView Members (Outlook)

Represents a view that displays Outlook items in a calendar format.

Methods

Name

Description

Apply

Applies the CalendarView object to the current view.

Copy

Creates a new View object based on the existing CalendarView object.

Delete

Deletes an object from a collection.

GoToDate

Changes the date used by the current view to display information.

Reset

Resets a built-in Microsoft Outlook view to its original settings.

Save

Saves the view, or saves the changes to a view.

Properties

Name

Description

Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

AutoFormatRules

Returns an AutoFormatRules object that represents the set of formatting rules applicable to the CalendarView object. Read-only.

BoldDatesWithItems

Returns or sets a Boolean value that indicates whether days that contain Outlook items should be displayed in bold within the Date Navigator for the CalendarView object. Read/write.

BoldSubjects

Returns or sets a Boolean value that indicates whether the subject information for Outlook items is displayed in bold within a CalendarView object. Read/write

CalendarViewMode

Returns or sets an OlCalendarViewMode that determines the current view mode of the CalendarView object. Read/write.

Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

DaysInMultiDayMode

Returns or sets a Long value that represents the number of consecutive days displayed in the CalendarView object. Read/write

DayWeekFont

Returns a ViewFont object that represents the font used when displaying items for a specified day in the CalendarView object. Read-only.

DayWeekTimeFont

Returns a ViewFont object that represents the font used when displaying the hour portion of the time headers in a specified day for the CalendarView object. Read-only.

DayWeekTimeScale

Returns or sets an OlDayWeekTimeScale constant that represents the scale used to represent time periods in a CalendarView object. Read/write.

DisplayedDates

Returns a Variant array containing strings that represent the days displayed in a CalendarView object. Read-only.

EndField

Returns or sets a String value that represents the name of the property that ends the time duration for Outlook items displayed in the CalendarView object. Read/write.

Filter

Returns or sets a String value that represents the filter for a view. Read/write.

Language

Returns or sets a String value that represents the language setting for the view. Read/write.

LockUserChanges

Returns or sets a Boolean value that indicates whether a user can modify the settings of the view. Read/write.

MonthFont

Returns a ViewFont object that represents the font used when displaying items for a specified month in the CalendarView object. Read-only.

MonthShowEndTime

Returns or sets a Boolean value that indicates whether end times for Outlook items are displayed in the CalendarView object. Read/write.

Name

Returns or sets the display name for the object. Read/write.

Parent

Returns the parent Object of the specified object. Read-only.

SaveOption

Returns an OlViewSaveOption constant that specifies the folders in which the specified view is available and the read permissions attached to the view. Read-only.

SelectedEndTime

Returns a Date that represents the end time of a selection in the CalendarView object. Read-only.

SelectedStartTime

Returns a Date that represents the start time of a selection in the CalendarView object. Read-only.

Session

Returns the NameSpace object for the current session. Read-only.

Standard

Returns a Boolean value that indicates whether the CalendarView object is a built-in Outlook view. Read-only.

StartField

Returns or sets a String value that represents the name of the property that starts the time duration for Outlook items displayed in the CalendarView object. Read/write.

ViewType

Returns an OlViewType constant that indicates the view type of the view. Read-only.

XML

Returns or sets a String value that specifies the XML definition of the view. Read/write.