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


INetworkCollection.GeometricNetwork Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetworkCollection.GeometricNetwork Property

The GeometricNetwork associated with the specified index value.

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

Parameters Index [in] Index is a parameter of type Long Network [out, retval]
Network is a parameter of type IGeometricNetwork

Product Availability

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

Remarks

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