NavigationFolders.Add Method
Outlook Developer Reference |
Adds the specified Folder, as a NavigationFolder object, to the end of the NavigationFolders collection.
Version Information
Version Added: Outlook 2007
Syntax
expression.Add(Folder)
expression A variable that represents a NavigationFolders object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Folder | Required | Folder | The folder to add. |
Return Value
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.
See Also