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


INAClass.DeleteAllRows Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAClass Interface > INAClass.DeleteAllRows Method
ArcGIS Developer Help

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 Samples

Closest facility solver Location-allocation solver Origin-destination cost matrix solver Service area solver Vehicle routing problem solver