Add Method

Description

Adds the specified folder path to a specified position.

Syntax

Visual Basic
Public Sub Add( _
   ByVal FolderPath As String, _
   Optional ByVal Position As Long = -1 _
) 

Parameters

FolderPathThe full path of the folder you want to add to the folders list.
Position

The position in which you want to add the folder path item.  Position values begin with 1.

If you do not specify a position, the folder is added to the end of the list (position=-1).

Example

Add a Folder to a Folder Search List

See Also

FoldersOptions Collection  | FoldersOptions Members