M-Files API 22.6.11519.0
Add Method
FolderDefs Collection : Add Method
Position at which a new collection member is added. Any non-valid position implies appending.
The new member to add. 
Description
Adds the item to the collection at the specified position.
Syntax
Visual Basic
Public Sub Add( _
   ByVal Index As Long, _
   ByVal FolderDef As FolderDef _
) 
Parameters
Index
Position at which a new collection member is added. Any non-valid position implies appending.
FolderDef
The new member to add. 
See Also

FolderDefs Collection  | FolderDefs Members