IOpcPartEnumerator interface (msopc.h)
A read-only enumerator of IOpcPart interface pointers.
Inheritance
The IOpcPartEnumerator interface inherits from the IUnknown interface. IOpcPartEnumerator also has these types of members:
Methods
The IOpcPartEnumerator interface has these methods.
IOpcPartEnumerator::Clone Creates a copy of the current enumerator and all its descendants. (IOpcPartEnumerator.Clone) |
IOpcPartEnumerator::GetCurrent Gets the IOpcPart interface pointer at the current position of the enumerator. |
IOpcPartEnumerator::MoveNext Moves the current position of the enumerator to the next IOpcPart interface pointer. |
IOpcPartEnumerator::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
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | msopc.h |
See also
Getting Started with the Packaging API
Overviews
Reference