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


ISnapEnvironment.ClearSnapAgents Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IS > ISnapEnvironment Interface > ISnapEnvironment.ClearSnapAgents Method
ArcGIS Developer Help

ISnapEnvironment.ClearSnapAgents Method

Removes all snap agents.

[Visual Basic .NET]
Public Sub ClearSnapAgents ( _
)
[C#]
public void ClearSnapAgents (
);

Product Availability

Available with ArcGIS Desktop.

Remarks

ClearSnapAgents deactivates all snap agents and sets the SnapAgentCount to zero.

See Also

ISnapEnvironment Interface