ArcObjects Library Reference (Carto)  

IGraphicSnapEnvironment2.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
[C#]
public IGraphicSnap get_SnapAgent (
    int Index
);
[C++]
HRESULT get_SnapAgent(
  long Index,
  IGraphicSnap** SnapAgent
);
[C++]

Parameters

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

IGraphicSnapEnvironment2 Interface