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

IGraphicSnapEnvironment.SnapAgent Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraphicSnapEnvironment Interface > IGraphicSnapEnvironment.SnapAgent Property
ArcGIS Developer Help

IGraphicSnapEnvironment.SnapAgent Property

The snap agent at the specified index. The index argument is zero based.

[Visual Basic .NET]
Public Function get_SnapAgent ( _
    ByVal Index As Integer _
) As IGraphicSnap
public IGraphicSnap get_SnapAgent (
    int Index
HRESULT get_SnapAgent(
  long Index,
  IGraphicSnap** SnapAgent
Index [in]

Index is a parameter of type long SnapAgent [out, retval]
SnapAgent is a parameter of type IGraphicSnap**

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGraphicSnapEnvironment Interface