Partager via


NavigationFolder.IsSelected Property (Outlook)

Returns or sets a Boolean variable that indicates whether the NavigationFolder object is selected for display. Read/write.

Version Information

Version Added: Outlook 2007

Syntax

expression .IsSelected

expression A variable that represents a NavigationFolder object.

Remarks

Navigation folders contained in a Calendar navigation module are treated differently than navigation folders in other navigation modules.

If the active explorer uses the Day/Week/Month or Day/Week/Month View with AutoPreview view to display navigation folders in the Calendar navigation module, this property returns True if the navigation folder is checked in the Navigation Pane (and is therefore displayed either in side-by-side or overlay mode in the active explorer.) Setting this property to False removes a calendar from display in the active explorer. An error occurs if this property is set to True for more than 30 navigation folders.

If the active explorer uses another view, such as the All Appointments view, to display navigation folders in the Calendar navigation module, or in navigation modules other than the Calendar navigation module, this property returns True if the navigation folder is selected and currently displayed in the active explorer; otherwise, the property returns False.

In either case, an error occurs if the value of this property is set to False for all NavigationFolder objects in the parent NavigationFolders collection, or if the NavigationFolder object is contained by a navigation module other than the navigation module currently displayed in the Navigation Pane.

The SelectedChange event for the parent NavigationFolders collection is raised if the value of this property is changed for a NavigationFolder object in a Calendar navigation module, regardless of the current view.

See Also

Concepts

NavigationFolder Object Members

NavigationFolder Object