ArcObjects Library Reference (GeoDatabase)  

INetTopologyEdit.DeleteByID Method

Deletes the specified network element from the logical network.

[Visual Basic .NET]
Public Sub DeleteByID ( _
    ByVal UserClassID As Integer, _
    ByVal UserID As Integer, _
    ByVal UserSubID As Integer, _
    ByVal ElementType As esriElementType _
)
[C#]
public void DeleteByID (
    int UserClassID,
    int UserID,
    int UserSubID,
    esriElementType ElementType
);
[C++]
HRESULT DeleteByID(
  long UserClassID,
  long UserID,
  long UserSubID,
  esriElementType ElementType
);
[C++]

Parameters

UserClassID [in]   UserClassID is a parameter of type long UserID [in]   UserID is a parameter of type long UserSubID [in]   UserSubID is a parameter of type long ElementType [in]

  ElementType is a parameter of type esriElementType

Product Availability

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

Remarks

DeleteByID removes the specified feature from the network.  Only use this method to remove elements from stand-alone logical networks.

See Also

INetTopologyEdit Interface