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

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

INetworkCollection.GeometricNetwork Property

The GeometricNetwork associated with the specified index value.

[Visual Basic .NET]
Public Function get_GeometricNetwork ( _
    ByVal Index As Integer _
) As IGeometricNetwork
public IGeometricNetwork get_GeometricNetwork (
    int Index
HRESULT get_GeometricNetwork(
  Long Index,
  IGeometricNetwork** Network
Index [in]

Index is a parameter of type int Network [out, retval]
Network is a parameter of type IGeometricNetwork**

Product Availability

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


The GeometricNetwork method is zero based.  Use the GeometricNetworkCount -1 to iterate through the Network collection and obtain a reference to the networks in the dataset.

See Also

INetworkCollection Interface