IItemEnumerator interface (wcmconfig.h)

Enumerates the items of a collection of settings and attributes.

Inheritance

The IItemEnumerator interface inherits from the IUnknown interface. IItemEnumerator also has these types of members:

Methods

The IItemEnumerator interface has these methods.

 
IItemEnumerator::Current

Retrieves an item from the current position of the enumerator.
IItemEnumerator::MoveNext

Moves the current position to the next item in the enumerator if available.
IItemEnumerator::Reset

Resets the state of the enumerator to its initialized state. You must immediately follow IItemEnumerator::Reset with a call to IItemEnumerator::MoveNext on the enumerator in order to set the current pointer at the first position in the enumeration.

Remarks

SMI and SMI collections are not thread-safe. Modifying a collection will not invalidate an enumerator. Further operations on the enumerator do not result in exceptions, and could encounter an enumerator in an inconsistent state.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wcmconfig.h