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


IEngineSnapAgent.Name Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineSnapAgent Interface > IEngineSnapAgent.Name Property
ArcGIS Developer Help

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(
  System.String* 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