ArcObjects Library Reference  (TrackingAnalyst)    

IActionCollection.Remove Method

Removes an action from the collection.

[Visual Basic 6.0]
Sub Remove(
    ByVal nIndex As Empty _
)
[Visual Basic .NET]
Public Sub Remove ( _
    ByVal nIndex As Integer _
)
[C#]
public void Remove (
    int nIndex
);
[Java]
public void remove (
    int nIndex
)
throws
    IOException,
    AutomationException
[C++]
HRESULT Remove(
  Long nIndex
);
[C++]

Parameters

nIndex [in]

  nIndex 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 a user to remove an action at the specified index. If the index specified is out of range an E_FAIL is returned otherwise a S_OK is returned on success. This method on success releases the action removed.

See Also

IActionCollection Interface

 


Feedback Send feedback on this page