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


ISet Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

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

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.

CoClasses that implement ISet

CoClasses and 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.