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


ITopologyRuleContainer.DeleteRule Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITopologyRuleContainer.DeleteRule Method

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

Product Availability

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

Remarks

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.

See Also

ITopologyRuleContainer Interface