ArcObjects Library Reference (GeoDatabase)  

ITopologyContainer Interface

Provides access to members that create, add, and hand out topologies. Note: the ITopologyContainer interface has been superseded byITopologyContainer2. Please consider using the more recent version.

Product Availability

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


Method CreateTopology Creates a new topology.
Read-only property DefaultClusterTolerance The default cluster tolerance as per the topology engine.
Read-only property MaximumClusterTolerance The maximal cluster tolerance as per the topology engine.
Read-only property MinimumClusterTolerance The minimal cluster tolerance as per the topology engine.
Read-only property Topology The topology at the specified index.
Read-only property TopologyByID The topology with the specified ID.
Read-only property TopologyByName The topology with the specified name.
Read-only property TopologyCount The number of topologies in the container.

CoClasses that implement ITopologyContainer

CoClasses and Classes Description
FeatureDataset Esri Feature Dataset object.


The ITopologyContainer interface can be used to manage and create topologies within a feature dataset.  If your intention is to simply browse for the set of topologies in a feature dataset, it is not necessary to open the feature dataset and call the methods on ITopologyContainer.  The IFeatureDatasetNames::TopologyNames method can be used to efficiently obtain this information.  Careful consideration should be given to specifying the parameters when creating a topology.  Once the topology is built, none of the parameters can be modified.  In order to change properties such as cluster tolerance, the topology must be deleted and rebuilt with the new parameters.

.NET Related Topics

Checking for topology error features in a geodatabase topology | Geodatabase | Listening to the OnValidate event for a geodatabase topology