Moves an action to a user-specified location in the collection.
[Visual Basic 6.0] Sub Move(
ByVal nSourceIndex As Empty, _
ByVal nDestinationIndex As Empty _
)
[Visual Basic .NET] Public Sub Move ( _ ByVal nSourceIndex As Integer, _ ByVal nDestinationIndex As Integer _ )
[C#] public void Move ( int nSourceIndex, int nDestinationIndex );
[Java] public void move ( int nSourceIndex, int nDestinationIndex ) throws IOException, AutomationException
[C++]
HRESULT Move(
Long nSourceIndex,
Long nDestinationIndex
);
Parameters
nSourceIndex [in]
nSourceIndex is a parameter of type Long
nDestinationIndex [in]
nDestinationIndex is a parameter of type Long
This method allows the user to move an action in the collection. The from and to index allows the user to specify the location in the collection to move the action about. The behavior is to insert the moved action at the specified index moving the existing action at the move to index forward in the list thus adding one to its index.