FoldersOptions Collection > Methods > MoveToPos Method
MoveToPos Method
Description
Changes the order of the folders by moving an item from its current position to the specified position.
Syntax
Visual Basic
Public Sub MoveToPos( _
   ByVal CurPosition As Long, _
   ByVal NewPosition As Long _
) 
Parameters
CurPosition
The current position of the folder path item whose position you want to change. Position values begin with 1.
NewPosition
The position in the list to which you want to move the folder path item. Position values begin with 1.
Example
See Also