共用方式為


NavigationFolders.Remove Method (Outlook)

Removes an object from the collection.

Version Information

Version Added: Outlook 2007

Syntax

expression .Remove(RemovableFolder)

expression A variable that represents a NavigationFolders object.

Parameters

Name

Required/Optional

Data Type

Description

RemovableFolder

Required

NavigationFolder

The navigation folder to be removed.

Remarks

Only removable folders, NavigationFolder objects with an IsRemovable property value set to True, can be removed from a NavigationFolders collection. This means that you can use NavigationFolders.Remove to remove shared folders, public folders, and linked folders. However, you must use Folder.Delete to remove any user-created folders.

See Also

Concepts

NavigationFolders Object Members

NavigationFolders Object