M-Files API 23.11.13135.0
Add Method
StateTransitions 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 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 StateTransition As StateTransition _
) 
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.

StateTransition
The new member to add. 
See Also

StateTransitions Collection  | StateTransitions Members