M-Files API 22.6.11519.0
Add Method
IDs 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 ID As Long _
) 
Parameters
Index
Position at which a new collection member is added. Any non-valid position implies appending.
ID
The new member to add. 
See Also

IDs Collection  | IDs Members