IOpcRelationshipSet::GetEnumerator method
Gets an enumerator of IOpcRelationship interface pointers in the set.
Syntax
HRESULT GetEnumerator( [out, retval] IOpcRelationshipEnumerator **relationshipEnumerator );
Parameters
- relationshipEnumerator [out, retval]
-
A pointer to the IOpcRelationshipEnumerator interface of the enumerator of IOpcRelationship interface pointers in the set.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
|
The method succeeded. |
|
The relationshipEnumerator parameter is NULL. |
|
An HRESULT error code from the Package Consumption Error Group. |
|
An HRESULT error code from the Part URI Error Group. |
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 only] |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
|
Header |
|
|
IDL |
|
See also
- IOpcRelationshipSet
- Overviews
- Getting Started with the Packaging API
- Relationships Overview
- Reference
- Packaging Errors
- Packaging API Reference
- Packaging API Samples