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