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


IMapTopology Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (EditorExt)  

IMapTopology Interface

Provides access to a Map topology. Note: the IMapTopology interface has been superseded byIMapTopology2. Please consider using the more recent version.

Product Availability

Available with ArcGIS Desktop.

Members

Description
Method AddClass Adds a feature class to this map topology. All existing topology elements will become invalid.
Read-only property Cache The collection of topology elements constructed from the feature classes in this map topology.
Read-only property Class A reference to the specified feature class in this map topology.
Read-only property ClassCount The count of feature classes currently participating in this map topology.
Method ClearClasses Removes all feature classes from this map topology. All existing topology elements will become invalid.
Read/write property ClusterTolerance The cracking/clustering tolerance used when constructing topology elements from the map topology's feature class collection.
Method FindClass Finds the zero-based index of the specified feature class.
Read/write property Name The name of this map topology.
Method RemoveClass Removes a feature class from this map topology. All existing topology elements will become invalid.
Read/write property SpatialReference The spatial reference of this map topology. By default, it is the spatial reference of the Map.

CoClasses that implement IMapTopology

CoClasses and Classes Description
MapTopology The current map topology.

Remarks

IMapTopology is the only interface currently used to control the MapTopology parameters. Use the members in this interface to define and modify the MapTopology.  A reference to a MapTopology class may be obtained from ITopologyExtension::MapTopology.

See Also

ITopologyExtension Interface

.NET Samples

Curve conversion add-in (Code Files: CurveConversionDockWin)

.NET Related Topics

EditorExt | Working with topologically related features