This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > EditorExt > ESRI.ArcGIS.EditorExt > Interfaces > IT > ITopologyExtension Interface > ITopologyExtension.AddActiveError Method (ArcObjects .NET 10.5 SDK) |
Adds a topology error to the selection.
[Visual Basic .NET] Public Sub AddActiveError ( _ ByVal error As ITopologyErrorFeature, _ ByVal hint As esriTEEventHint _ )
[C#] public void AddActiveError ( ITopologyErrorFeature error, esriTEEventHint hint );
AddActiveError is often used in conjunction with one of the methods of Topology::IErrorFeatureContainer to return an enumeration of TopologyErrorFeature that meet some criteria. For example, you may want to automatically select all errors of a certain rule type so a user can apply a topology fix to all of them at once.