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


ITopology2 Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITopology2 Interface

Provides access to members that control a topology.

Product Availability

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

Members

Description
Method AddClass Add an object, feature, or attributed relationship class to the topology.
Read-only property Cache The topology graph of the topology.
Read-only property ClusterTolerance The cluster tolerance of the topology.
Read-only property DirtyArea The dirty area polygon of the topology.
Read-only property FeatureDataset The feature dataset that contains the topology.
Read-only property MaximumGeneratedErrorCount The maximum number of errors to generate when validating a topology.
Method RemoveClass Remove an object, feature, or attributed relationship class to the topology.
Read-only property State Indicates whether the topology is clean or not.
Read-only property TopologyID The ID of the topology.
Method ValidateTopology Validate the specified area in the topology.
Read-only property ZClusterTolerance The z cluster tolerance of the topology.

Inherited Interfaces

Interfaces Description
ITopology Provides access to members that control a topology.

CoClasses that implement ITopology2

CoClasses and Classes Description
Topology Esri Topology object.

Remarks

A Topology is a collection of simple feature classes within the same feature dataset that participate in topological relationships with a set of rules that govern those relationships.  Topologies can have multiple feature classes in the same topological role. A feature dataset may have multiple topologies but a feature class can only belong to one topology and only simple feature classes may participate in a topology.  Each topology has one associated topology graph. The topology graph is a planar representation of the geometries in the feature classes participating in a geodatabase topology.  If you need to access the topology graph directly for working with topology primitives such as edges and nodes, see the ITopologyGraph help.

When new features are created, edited or deleted, the topology is responsible for creating or modifying a dirty area that will encompass the envelope of the feature.  A dirty area is a special type of feature under which, the state of the topology is unknown.  Features that are covered by dirty areas can still be edited and queried, but their topological relationships cannot be guaranteed to be correct.  A dirty area must be validated in order to discover the topology of its underlying features and guarnatee their correctness.

.NET Related Topics

Working with topologically related features