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


IEngineSnapEnvironment.SnapAgentCount Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

IEngineSnapEnvironment.SnapAgentCount Property

The number of active snap agents.

[Visual Basic .NET]
Public ReadOnly Property SnapAgentCount As Integer
[C#]
public int SnapAgentCount {get;}
[C++]
HRESULT get_SnapAgentCount(
  long* Count
);
[C++]

Parameters Count [out, retval] Count is a parameter of type long

Product Availability

Available with ArcGIS Engine.

Description

SnapAgentCount returns the number of currently active snap agents.

See Also

IEngineSnapEnvironment Interface

.NET Samples

Managing snap agents (Code Files: SnapEditorForm)

.NET Related Topics

How to work with the snap environment