This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITopologyRuleContainer Interface > ITopologyRuleContainer.DeleteRule Method (ArcObjects .NET 10.4 SDK) |
Deletes a topology rule.
[Visual Basic .NET] Public Sub DeleteRule ( _ ByVal Rule As ITopologyRule _ )
[C#] public void DeleteRule ( ITopologyRule Rule );
[C++]
HRESULT DeleteRule(
ITopologyRule* Rule
);
[C++]
Parameters Rule [in]
Rule is a parameter of type ITopologyRule
Removes the specified rule from the topology. DeleteRule will remove any associated topology errors and will not result in the creation of a dirty area, nor will the state of the topology change.