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


IEngineSnapEnvironment.SnapAgentCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineSnapEnvironment Interface > IEngineSnapEnvironment.SnapAgentCount Property
ArcGIS Developer Help

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(
  System.Int32* 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