ArcObjects Library Reference (GeoDatabase)  

INetTopologyEdit Interface

Provides access to members that add and delete network elements from the logical network.

Product Availability

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

When To Use

Use the INetTopologyEdit interface to add and delete elements from a logical network.

This interface is designed specifically for the editing of a stand-alone logical network, a logical network that does not have an associated geometric network.  It is imperative that if you have a geometric network, the logical network must be edited through its associated geometric network.  You risk data corruption if you use the INetTopologyEdit interface on logical networks that have an associated geometric network.  When a feature is created or removed in the geometric network, the corresponding element in the logical network is added or deleted as well.

The logical network maintains its own topology for the purpose of faster access. Directly manipulating the logical network's topology will cause the features in the geometric network to be out of sync with the topology maintained by the logical network.

Members

Description
Method AddEdgeByEndEIDs Adds an edge element to the logical network between the specified junction elements.
Method AddJunction Adds a junction element to the logical network.
Method DeleteByEID Deletes the specified network element from the logical network.
Method DeleteByEIDs Deletes the specified network elements from the logical network.
Method DeleteByID Deletes the specified network element from the logical network.
Method GetAdjacentEdge Returns the network element ID of the index'th adjacent edge to the specified junction.
Method GetAdjacentEdgeCount Returns the number of edges adjacent to the specified junction.
Method GetFromToJunctionEIDs Returns the network element IDs of the junctions adjacent to the specified edge.

Inherited Interfaces

Interfaces Description
INetTopology Provides access to members that get information about the elements adjacent to the specified element.

CoClasses that implement INetTopologyEdit

CoClasses and Classes Description
StreetNetwork A container for describing a street network.
UtilityNetwork A container for describing a utility network.
[C#]

Not all members are callable from C#.  Please use INetTopologyEditGEN instead.

[Visual Basic .NET]

Not all members are callable from VB.NET.  Please use INetTopologyEditGEN instead.

See Also

INetTopology Interface | INetTopologyEdit Interface