This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGeometricNetworkErrorDetection Interface > IGeometricNetworkErrorDetection.DeleteNetworkElements Method (ArcObjects .NET 10.4 SDK) |
Deletes the network elements associated with the specified network features.
[Visual Basic .NET] Public Sub DeleteNetworkElements ( _ ByVal selectionSets As ISet _ )
[C#] public void DeleteNetworkElements ( ISet selectionSets );
[C++]
HRESULT DeleteNetworkElements(
ISet* selectionSets
);
[C++]
Parameters selectionSets [in]
selectionSets is a parameter of type ISet
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.