M-Files API 22.6.11519.0
Add Method
MetadataStructureSelectors Collection : Add Method
The position where the new collection member is added. The indexes of the members at and after this position will be increased by one. The first element in the collection has the index of 1. Any non-valid position (e.g. -1) implies appending.
The metadata structure selector object to be added.
Description
Adds the item to the collection at the specified position.
Syntax
Visual Basic
Public Sub Add( _
   ByVal Index As Long, _
   ByVal MetadataStructureSelector As MetadataStructureSelector _
) 
Parameters
Index
The position where the new collection member is added. The indexes of the members at and after this position will be increased by one. The first element in the collection has the index of 1. Any non-valid position (e.g. -1) implies appending.
MetadataStructureSelector
The metadata structure selector object to be added.
See Also

MetadataStructureSelectors Collection  | MetadataStructureSelectors Members