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


IGraphicSnapEnvironment2.SnapAgent Property (ArcObjects .NET 10.5 SDK)
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