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


ITopologyContainer.TopologyByID Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITopologyContainer.TopologyByID Property

The topology with the specified ID.

[Visual Basic .NET]
Public Function get_TopologyByID ( _
    ByVal ID As Integer _
) As ITopology
[C#]
public ITopology get_TopologyByID (
    int ID
);
[C++]
HRESULT get_TopologyByID(
  long ID,
  ITopology** Topology
);
[C++]

Parameters ID [in]
ID is a parameter of type long Topology [out, retval]
Topology is a parameter of type ITopology**

Product Availability

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

Remarks

Returns the Topology with the specified ID.  The ID is not the index 0 to TopologyCount -1.  Rather it is the internal ID of the Topology as stored in the metadata tables.  It can be retrieved from ITopology::TopologyID.

See Also

ITopologyContainer Interface