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


IEngineSnapEnvironment.RemoveSnapAgent Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineSnapEnvironment Interface > IEngineSnapEnvironment.RemoveSnapAgent Method
ArcGIS Developer Help

IEngineSnapEnvironment.RemoveSnapAgent Method

Removes the snap agent at the given index.

[Visual Basic .NET]
Public Sub RemoveSnapAgent ( _
    ByVal index As Integer _
)
[C#]
public void RemoveSnapAgent (
    int index
);
[C++]
HRESULT RemoveSnapAgent(
  long index
);
[C++]
Parameters
index [in]

index is a parameter of type long

Product Availability

Available with ArcGIS Engine.

Description

RemoveSnapAgent removes the feature snap agent at the specified index; this does not apply to non-feature snap agents such as edit sketch vertices.

See Also

IEngineSnapEnvironment Interface

.NET Samples

Managing snap agents