IOpcPartUri Interface
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.

When To Implement

Never. Custom implementations of this interface are not supported.

Methods

The IOpcPartUri interface inherits from IOpcUri.

In addition, IOpcPartUri defines the following methods.

MethodDescription

ComparePartUri

Returns an integer that indicates whether the URIs represented by the current part URI object and a specified part URI object are equivalent.

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.

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 clientWindows 7, Windows Vista with SP2 and Platform Update for Windows Vista
Minimum supported serverWindows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008
HeaderMsopc.h
IDLMsopc.idl

See Also

Core Packaging Interfaces
Overviews
Getting Started with the Packaging API
Parts Overview
Platform Update for Windows Vista

 

Reference
IOpcFactory::CreatePartUri
IOpcPart::GetName
IOpcUri
Packaging API Reference
Packaging API Samples

 

Reference

Send comments about this topic to Microsoft

Build date: 11/16/2009

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View