Modifica

Condividi tramite


_NavigationFolders.Add(MAPIFolder) Method

Definition

Adds the specified Folder, as a NavigationFolder object, to the end of the NavigationFolders collection.

public:
 Microsoft::Office::Interop::Outlook::NavigationFolder ^ Add(Microsoft::Office::Interop::Outlook::MAPIFolder ^ Folder);
public Microsoft.Office.Interop.Outlook.NavigationFolder Add (Microsoft.Office.Interop.Outlook.MAPIFolder Folder);
Public Function Add (Folder As MAPIFolder) As NavigationFolder

Parameters

Folder
MAPIFolder

The folder to add.

Returns

A NavigationFolder object that represents the new navigation folder.

Remarks

A folder can only appear in one navigation group. When adding a Folder object to a new navigation group, any references to that Folder are removed from any other navigation group of which it was previously a member.

Applies to