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


INetworkFeature.CreateNetworkElements Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetworkFeature.CreateNetworkElements Method

Create the necessary NetworkElements in the associated Logical Network.

[Visual Basic .NET]
Public Function CreateNetworkElements ( _
) As IEnumNetEID
[C#]
public IEnumNetEID CreateNetworkElements (
);
[C++]
HRESULT CreateNetworkElements(
  IEnumNetEID** newEIDs
);
[C++]

Parameters newEIDs [out, retval]
newEIDs is a parameter of type IEnumNetEID

Product Availability

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

Remarks

Every network feature in a geometric network has a corresponding network element in the logical network. CreateNetworkElements is called by the geometric network when network features are created.  It is not neccessary for developers to call this method after creating new network features.

See Also

INetworkFeature Interface