Düzenle

Aracılığıyla paylaş


_NavigationFolders.Remove(NavigationFolder) Method

Definition

Removes an object from the collection.

public:
 void Remove(Microsoft::Office::Interop::Outlook::NavigationFolder ^ RemovableFolder);
public void Remove (Microsoft.Office.Interop.Outlook.NavigationFolder RemovableFolder);
Public Sub Remove (RemovableFolder As NavigationFolder)

Parameters

RemovableFolder
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 Delete() to remove any user-created folders.

Applies to