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


ISnapEnvironment.ClearSnapAgents Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Editor)  

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