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

IGraphicSnapEnvironment2.DeleteSnapAgent Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraphicSnapEnvironment2 Interface > IGraphicSnapEnvironment2.DeleteSnapAgent Method
ArcGIS Developer Help

IGraphicSnapEnvironment2.DeleteSnapAgent Method

Remove specified snap agent from the environment.

[Visual Basic .NET]
Public Sub DeleteSnapAgent ( _
    ByVal SnapAgent As IGraphicSnap _
public void DeleteSnapAgent (
    IGraphicSnap SnapAgent
HRESULT DeleteSnapAgent(
  IGraphicSnap* SnapAgent
SnapAgent [in]

SnapAgent is a parameter of type IGraphicSnap*

Product Availability

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

See Also

IGraphicSnapEnvironment2 Interface