This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITopologyRule Interface (ArcObjects .NET 10.4 SDK) |
Provides access to memebers that return information about topology rules.
The ITopologyRule is the main interface for creating and getting information about a topology rule. Use this interface to create a new topology rule between feature classes or for a single feature class. Topology rules can also be specified to the subtype level.
Description | ||
---|---|---|
AllDestinationSubtypes | Indicates if all destination subtypes are specified for the topology rule. | |
AllOriginSubtypes | Indicates if all origin subtypes are specified for the topology rule. | |
DestinationClassID | Destination ClassID of the topology rule. | |
DestinationSubtype | Destination subtype of the topology rule. | |
DestinationSubtypeSpecified | Indicates if a destination subtype has been specified. | |
ErrorShapeTypes | Indicates the shape types of errors for the topology rule. | |
GUID | GUID of the topology rule. | |
Name | Name of the topology rule. | |
OriginClassID | Origin ClassID of the topology rule. | |
OriginSubtype | Origin subtype of the topology rule. | |
OriginSubtypeSpecified | Indicates if an origin subtype has been specified. | |
TopologyRuleType | Topology rule type of the topology rule. | |
TriggerErrorEvents | Indicates if error events are triggered for the topology rule. |
CoClasses and Classes | Description |
---|---|
TopologyRule | Esri Topology Rule object. |
The ITopologyRule interface provides access to members which can be used to assign or retrieve information about a topology rule. Topology rules are cocreateable.
To be added to a topology, a rule must have (at a minimum) its Type and OriginClassID properties defined. Rules which use a destination feature class must also have the DestinationClassID property set.
When specifying the Origin properties, if the OriginSubtype, OriginSubtypeSpecified and AllOriginSubtypes are not specified, the OriginSubtype is set to the default subtype. If no subtypes are defined on the feature class, the OriginSubtype will equal zero. The same is true for the DestinationSubtype, DestinationSubtypeSpecified and AllDestinationSubtypes properties.
ITopologyRuleContainer Interface