IOpcUri interface (msopc.h)

Represents the URI of the package root or of a part that is relative to the package root.

Inheritance

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

Methods

The IOpcUri interface has these methods.

 
IOpcUri::CombinePartUri

Forms the part name of the part that is referenced by the specified relative URI.
IOpcUri::GetRelationshipsPartUri

Gets the part name of the Relationships part that stores relationships that have the source URI represented by the current OPC URI object.
IOpcUri::GetRelativeUri

Forms a relative URI for a specified part, relative to the URI represented by the current OPC URI object.

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 the Getting Started with the Packaging API, and Platform Update for Windows Vista.

Requirements

Requirement Value
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

IOpcPartUri

IUri

Open Packaging Conventions Fundamentals

Overviews

Packaging API Reference

Packaging API Samples

Platform Update for Windows Vista

Reference