IOpcPartEnumerator interface
A read-only enumerator of IOpcPart interface pointers.
When to implement
Never. Custom implementations of this interface are not supported.
Members
The IOpcPartEnumerator interface inherits from the IUnknown interface. IOpcPartEnumerator also has these types of members:
Methods
The IOpcPartEnumerator interface has these methods.
| Method | Description |
|---|---|
| Clone |
Creates a copy of the current enumerator and all its descendants. |
| GetCurrent |
Gets the IOpcPart interface pointer at the current position of the enumerator. |
| MoveNext |
Moves the current position of the enumerator to the next IOpcPart interface pointer. |
| MovePrevious |
Moves the current position of the enumerator to the previous IOpcPart interface pointer. |
Remarks
To get a pointer to this interface, call the IOpcPartSet::GetEnumerator method.
When an enumerator is created, the current position precedes the first pointer. To set the current position to the first pointer of the enumerator, call the MoveNext method after creating the enumerator.
Thread Safety
Packaging objects are not thread-safe.
For more information, see the Getting Started with the Packaging API.
Requirements
|
Minimum supported client | Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
See also
- Core Packaging Interfaces
- Overviews
- Getting Started with the Packaging API
- Reference
- IOpcPartSet
- Packaging API Reference
- Packaging API Samples