IEnumWbemClassObject interface
The IEnumWbemClassObject interface is used to enumerate Common Information Model (CIM) objects and is similar to a standard COM enumerator.
An object of type IEnumWbemClassObject is received from calls to the following methods:
- IWbemServices::ExecQuery
- IWbemServices::CreateInstanceEnum
- IWbemServices::CreateClassEnum
- IWbemServices::ExecNotificationQuery
CIM objects are retrieved from an enumeration as objects of type IWbemClassObject by calling the Next method. You can reset an enumeration back to the beginning by calling the Reset method.
Members
The IEnumWbemClassObject interface inherits from the IUnknown interface. IEnumWbemClassObject also has these types of members:
Methods
The IEnumWbemClassObject interface has these methods.
| Method | Description |
|---|---|
| Clone |
Makes a copy of the enumerator. |
| Next |
Retrieves the next object or objects in the enumeration starting from the current position. |
| NextAsync |
Retrieves the next object or objects using asynchronous integration with IWbemObjectSink. |
| Reset |
Resets an enumeration sequence back to the beginning. |
| Skip |
Causes the enumeration to skip ahead so that future calls to the Next method retrieve objects one, or more, ahead of the current location in the enumeration. |
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012