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


ISet Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IS > ISet Interface
ArcGIS Developer Help

ISet Interface

Provides access to members that control a simple set of objects.

Product Availability

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

Description

The ISet interface provides properties and methods for adding objects, removing objects, and sequentially accessing objects in a Set.

When To Use

The Set object holds a collection of homogeneous or heterogeneous objects.

Members

Name Description
Method Add Adds an object to the set.
Read-only property Count The element count of the set.
Method Find Searches for the object in the set.
Method Next Obtains the next object in the set.
Method Remove Removes the object from the set.
Method RemoveAll Removes all objects from the set.
Method Reset Resets the set for enumerating through the objects with Next.

Classes that implement ISet

Classes Description
GroupFeedback (esriDisplay) Feedback for a group of feedback objects.
ObjectList (esriTrackingAnalyst) A container class to hold relevant objects (e.g., server connection, actions, feature class).
Set Generic set of objects.