Using Enumerators with the Repository

When Microsoft® Repository establishes an enumerator for you, it reads the Repository database to determine which items should appear in the list, and the order in which those items should appear. The enumerator does not, however, contain repository items. Rather, each element of an enumerator identifies a repository item. To retrieve a particular item identified by the next element of an enumerator, use the Next method of the enumerator interface.

The elements in an enumerator identify the items in a collection as described by the Repository database when the enumerator was instantiated. After you instantiate the enumerator, the collection in the database can change. Specifically, the collection can change in these ways:

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.