ArcObjects Library Reference  (TrackingAnalyst)    

IActionCollection.Move Method

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
);
[C++]

Parameters

nSourceIndex [in]

  nSourceIndex is a parameter of type Long

nDestinationIndex [in]

  nDestinationIndex is a parameter of type Long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Description

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.

See Also

IActionCollection Interface

 


Feedback Send feedback on this page