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


ISelectionSet.Count Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IS > ISelectionSet Interface > ISelectionSet.Count Property
ArcGIS Developer Help

ISelectionSet.Count Property

The number of oids in the selection set.

[Visual Basic .NET]
Public ReadOnly Property Count As Integer
[C#]
public int Count {get;}
[C++]
HRESULT get_Count(
  System.Int32* numObjectIds
);
[C++]
Parameters
numObjectIds [out, retval]

numObjectIds is a parameter of type long*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

ISelectionSet Interface

.NET Samples

Custom reshape polyline edit task