This document is archived and information here might be outdated.  Recommended version.


INAClass.DeleteAllRows Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAClass.DeleteAllRows Method

Remove all items added to the class (for example, stops or incidents).

[Visual Basic .NET]
Public Sub DeleteAllRows ( _
)
[C#]
public void DeleteAllRows (
);
[C++]
HRESULT DeleteAllRows(
void
);

Product Availability

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

Remarks

DeleteAllRows quickly removes all of the rows from the NAClass.  This is the quickest method to clear all of the NetworkLocationObjects from an NAClass.

See Also

INAClass Interface

.NET Snippets

Clear NAClass | Clear Active Analysis Layer

.NET Samples

Closest facility solver (Code Files: frmClosestFacilitySolver) | Service area solver (Code Files: frmServiceAreaSolver) | Location-allocation solver (Code Files: frmLocationAllocationSolver) | Vehicle routing problem solver (Code Files: frmVRPSolver) | Origin-destination cost matrix solver (Code Files: frmODCostMatrixSolver)