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


IGraphicSnapEnvironment.SnapAgent Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

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
[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

IGraphicSnapEnvironment Interface