ArcObjects Library Reference (Controls)  

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 (Code Files: SnapEditorForm) |