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


IEngineSnapAgent.Name Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

IEngineSnapAgent.Name Property

The name of the engine snap agent.

[Visual Basic .NET]
Public ReadOnly Property Name As String
[C#]
public string Name {get;}
[C++]
HRESULT get_Name(
  BSTR* Name
);
[C++]

Parameters Name [out, retval] Name is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine.

Description

To find a particular snap agent to cycle through all of the loaded snap agents using the Name property.
For Feature Snap Agents, the name is that of their feature class. When creating a custom snap agent, make sure to give it a unique name.

See Also

IEngineSnapAgent Interface