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

ISnapAgent.Name Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IS > ISnapAgent Interface > ISnapAgent.Name Property
ArcGIS Developer Help

ISnapAgent.Name Property

The name of the snap agent shown in the UI.

[Visual Basic .NET]
Public ReadOnly Property Name As String
public string Name {get;}

Product Availability

Available with ArcGIS Desktop.


To find a particular snap agent you made need to cycle through all of the loaded snap agents using the Name property. For Feature Snap Agents, the name is that of their featureclass.

When creating a custom snap agent, make sure to give it a unique name.

See Also

ISnapAgent Interface