IOpcPartUri interface

Represents the part name of a part. If the part is a Relationships part, it is represented by the IOpcRelationshipSet interface; otherwise, it is represented by the IOpcPart interface.

Inheritance

The IOpcPartUri interface inherits from IOpcUri. IOpcPartUri also has these types of members:

Methods

The IOpcPartUri interface has these methods.

Method Description
IOpcPartUri::ComparePartUri Returns an integer that indicates whether the URIs represented by the current part URI object and a specified part URI object are equivalent.
IOpcPartUri::GetSourceUri Gets the source URI of the relationships that are stored in a Relationships part. The current part URI object represents the part name of that Relationships part.
IOpcPartUri::IsRelationshipsPartUri Returns a value that indicates whether the current part URI object represents the part name of a Relationships part.

Remarks

Support on Previous Windows Versions

The behavior and performance of this interface is the same on all supported Windows versions. For more information, see Getting Started with the Packaging API, and Platform Update for Windows Vista.

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, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header msopc.h

See also

Core Packaging Interfaces

Getting Started with the Packaging API

IOpcFactory::CreatePartUri

IOpcPart::GetName

IOpcUri

Overviews

Packaging API Reference

Packaging API Samples

Parts Overview

Platform Update for Windows Vista

Reference