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) | Location-allocation solver (Code Files: frmLocationAllocationSolver) | Origin-destination cost matrix solver (Code Files: frmODCostMatrixSolver) | Service area solver (Code Files: frmServiceAreaSolver) | Vehicle routing problem solver (Code Files: frmVRPSolver) |