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

INetworkCollection2 Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkCollection2 Interface
ArcGIS Developer Help

INetworkCollection2 Interface

Provides access to members that create and maintain information about geometric networks.

Product Availability

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


Name Description
Method CreateGeometricNetwork Creates a new GeometricNetwork in this FeatureDataset.
Method CreateGeometricNetworkEx Creates a new GeometricNetwork with a configuration keyword in this FeatureDataset.
Read-only property FormatNumber The specified format number.
Read-only property FormatNumberCount The count of valid format numbers.
Read-only property GeometricNetwork The GeometricNetwork associated with the specified index value.
Read-only property GeometricNetworkByName The GeometricNetwork with the specified Name.
Read-only property GeometricNetworkCount The number of GeometricNetworks in this FeatureDataset.
Method GetMaxStorableClassID Returns the maximum storable feature class ID for the given format number.

Inherited Interfaces

Interfaces Description
INetworkCollection Provides access to members that create and maintain information about geometric networks.

Classes that implement INetworkCollection2

Classes Description
FeatureDataset Esri Feature Dataset object.


INetworkCollection2 was added to provide a mechanism for allowing a configuration keyword to be provided for the CreateGeometricNetwork method and to designate the format for storing IDs in a geometric network. This configuration keyword will describe how the logical network tables and their indexes are stored in the database. The storage format can be specified as either narrow or wide.  Networks with a narrow format can only contain feature classes with class IDs less than 10,000 while networks with a wide format have no limitation on the feature class ID value.  It is recommended that the format be specified as wide unless you specifically require your network to be built in the narrow format.

See Also

INetwork Interface | IGeometricNetwork Interface | INetworkCollection Interface