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 _
)
[C#]
public void DeleteSnapAgent (
    IGraphicSnap SnapAgent
);
[C++]
HRESULT DeleteSnapAgent(
  IGraphicSnap* SnapAgent
);
[C++]
Parameters
SnapAgent [in]

SnapAgent is a parameter of type IGraphicSnap*

Product Availability

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

See Also

IGraphicSnapEnvironment2 Interface