ArcObjects Library Reference (GeoDatabase)  

IGeometricNetworkErrorDetection.DeleteNetworkElements Method

Deletes the network elements associated with the specified network features.

[Visual Basic .NET]
Public Sub DeleteNetworkElements ( _
    ByVal selectionSets As ISet _
public void DeleteNetworkElements (
    ISet selectionSets
HRESULT DeleteNetworkElements(
  ISet* selectionSets


selectionSets [in]

  selectionSets is a parameter of type ISet

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


The DeleteNetworkElements method takes an ISet of ISelectionSets. All of the network features contained in the various selection sets will have their network elements deleted from the logical network. The primary reason why one would want to do this is to correct the geometry of an edge feature that was loaded with invalid polyline geometry.  This method should be called on valid network features.

See Also

IGeometricNetworkErrorDetection Interface