Provides access to members that control a simple set of objects.
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.
|Add||Adds an object to the set.|
|Count||The element count of the set.|
|Find||Searches for the object in the set.|
|Next||Obtains the next object in the set.|
|Remove||Removes the object from the set.|
|RemoveAll||Removes all objects from the set.|
|Reset||Resets the set for enumerating through the objects with Next.|