PackUriHelper Class
.NET Framework 4.5
Provides utility methods to compose and parse pack URI objects.
Namespace: System.IO.Packaging
Assembly: WindowsBase (in WindowsBase.dll)
The PackUriHelper type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | ComparePackUri | Returns a value that indicates whether two pack URIs are equivalent. |
![]() ![]() | ComparePartUri | Returns a value that indicates whether two package part URIs are equivalent. |
![]() ![]() | Create(Uri) | Creates a new pack URI that points to a package. |
![]() ![]() | Create(Uri, Uri) | Creates a pack URI given a Package URI and the URI of a part in the package. |
![]() ![]() | Create(Uri, Uri, String) | Creates a pack URI given a Package URI, the URI of a part in the package, and a "#" fragment to append. |
![]() ![]() | CreatePartUri | Creates a formatted PackagePart URI. |
![]() ![]() | GetNormalizedPartUri | Returns the normalized form of a specified PackagePart URI. |
![]() ![]() | GetPackageUri | Returns the inner URI that points to the entire package of a specified pack URI. |
![]() ![]() | GetPartUri | Returns the URI of a PackagePart within a specified pack URI. |
![]() ![]() | GetRelationshipPartUri | Returns the URI of the relationship part associated with a specified PackagePart. |
![]() ![]() | GetRelativeUri | Returns the relative URI between two specified PackagePart URIs. |
![]() ![]() | GetSourcePartUriFromRelationshipPartUri | Returns the SourceUri from the PackageRelationship with a specified URI. |
![]() ![]() | IsRelationshipPartUri | Returns a value that indicates whether a specified URI is the URI of a PackageRelationship part. |
![]() ![]() | ResolvePartUri | Returns a part URI given a source part URI and a URI with a relative path to a target part. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
