_CalendarView Members

Include Protected Members
Include Inherited Members

This is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this primary interface only when the method you want to use shares the same name as an event of the COM object; in this case, cast to this interface to call the method, and cast to the latest events interface to connect to the event. Otherwise, use the .NET interface that is derived from the COM coclass to access methods, properties, and events of the COM object. For information about the COM object, see CalendarView.

The _CalendarView type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the parent Outlook application for the object. Read-only.
Public property AutoFormatRules Returns an AutoFormatRules object that represents the set of formatting rules applicable to the CalendarView object. Read-only.
Public property BoldDatesWithItems Returns or sets a Boolean (bool in C#) value that indicates whether days that contain Outlook items should be displayed in bold within the Date Navigator for the CalendarView object. Read/write.
Public property BoldSubjects Returns or sets a Boolean (bool in C#) value that indicates whether the subject information for Outlook items is displayed in bold within a CalendarView object. Read/write
Public property CalendarViewMode Returns or sets an OlCalendarViewMode that determines the current view mode of the CalendarView object. Read/write.
Public property Class Returns an OlObjectClass constant indicating the object's class. Read-only.
Public property DaysInMultiDayMode Returns or sets an Integer (int in C#) value that represents the number of consecutive days displayed in the CalendarView object. Read/write
Public property DayWeekFont Returns a ViewFont object that represents the font used when displaying items for a specified day in the CalendarView object. Read-only.
Public property 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.
Public property DayWeekTimeScale Returns or sets an OlDayWeekTimeScale constant that represents the scale used to represent time periods in a CalendarView object. Read/write.
Public property DisplayedDates Returns an Object array containing strings that represent the days displayed in a CalendarView object. Read-only.
Public property EndField Returns or sets a String (string in C#) value that represents the name of the property that ends the time duration for Outlook items displayed in the CalendarView object. Read/write.
Public property Filter Returns or sets a String (string in C#) value that represents the filter for a view. Read/write.
Public property Language Returns or sets a String (string in C#) value that represents the language setting for the view. Read/write.
Public property LockUserChanges Returns or sets a Boolean (bool in C#) value that indicates whether a user can modify the settings of the view. Read/write.
Public property MonthFont Returns a ViewFont object that represents the font used when displaying items for a specified month in the CalendarView object. Read-only.
Public property MonthShowEndTime Returns or sets a Boolean (bool in C#) value that indicates whether end times for Outlook items are displayed in the CalendarView object. Read/write.
Public property Name Returns or sets a String (string in C#) value that represents the display name for the object. Read/write.
Public property Parent Returns the parent Object of the specified object. Read-only.
Public property 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.
Public property SelectedEndTime Returns a DateTime value that represents the end time of a selection in the CalendarView object. Read-only.
Public property SelectedStartTime Returns a DateTime value that represents the start time of a selection in the CalendarView object. Read-only.
Public property Session Returns the NameSpace object for the current session. Read-only.
Public property Standard Returns a Boolean (bool in C#) value that indicates whether the CalendarView object is a built-in Outlook view. Read-only.
Public property StartField Returns or sets a String (string in C#) value that represents the name of the property that starts the time duration for Outlook items displayed in the CalendarView object. Read/write.
Public property ViewType Returns an OlViewType constant that indicates the view type of the view. Read-only.
Public property XML Returns or sets a String (string in C#) value that specifies the XML definition of the view. Read/write.

Top

Methods

  Name Description
Public method Apply Applies the CalendarView object to the current view.
Public method Copy Creates a new View object based on the existing CalendarView object.
Public method Delete Deletes an object from a collection.
Public method GoToDate Changes the date used by the current view to display information.
Public method Reset Resets a built-in Microsoft Outlook view to its original settings.
Public method Save Saves the view, or saves the changes to a view.

Top

See Also

Reference

_CalendarView Interface

Microsoft.Office.Interop.Outlook Namespace