PackUriHelper Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides utility methods to compose and parse pack URI objects.

Namespace:   System.IO.Packaging
Assembly:  WindowsBase (in WindowsBase.dll)

System.Object
  System.IO.Packaging.PackUriHelper

public static class PackUriHelper

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticComparePackUri(Uri, Uri)

Returns a value that indicates whether two pack URIs are equivalent.

System_CAPS_pubmethodSystem_CAPS_staticComparePartUri(Uri, Uri)

Returns a value that indicates whether two package part URIs are equivalent.

System_CAPS_pubmethodSystem_CAPS_staticCreate(Uri)

Creates a new pack URI that points to a package.

System_CAPS_pubmethodSystem_CAPS_staticCreate(Uri, Uri)

Creates a pack URI given a Package URI and the URI of a part in the package.

System_CAPS_pubmethodSystem_CAPS_staticCreate(Uri, Uri, String)

Creates a pack URI given a Package URI, the URI of a part in the package, and a "#" fragment to append.

System_CAPS_pubmethodSystem_CAPS_staticCreatePartUri(Uri)

Creates a formatted PackagePart URI.

System_CAPS_pubmethodSystem_CAPS_staticGetNormalizedPartUri(Uri)

Returns the normalized form of a specified PackagePart URI.

System_CAPS_pubmethodSystem_CAPS_staticGetPackageUri(Uri)

Returns the inner URI that points to the entire package of a specified pack URI.

System_CAPS_pubmethodSystem_CAPS_staticGetPartUri(Uri)

Returns the URI of a PackagePart within a specified pack URI.

System_CAPS_pubmethodSystem_CAPS_staticGetRelationshipPartUri(Uri)

Returns the URI of the relationship part associated with a specified PackagePart.

System_CAPS_pubmethodSystem_CAPS_staticGetRelativeUri(Uri, Uri)

Returns the relative URI between two specified PackagePart URIs.

System_CAPS_pubmethodSystem_CAPS_staticGetSourcePartUriFromRelationshipPartUri(Uri)

Returns the SourceUri from the PackageRelationship with a specified URI.

System_CAPS_pubmethodSystem_CAPS_staticIsRelationshipPartUri(Uri)

Returns a value that indicates whether a specified URI is the URI of a PackageRelationship part.

System_CAPS_pubmethodSystem_CAPS_staticResolvePartUri(Uri, Uri)

Returns a part URI given a source part URI and a URI with a relative path to a target part.

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticUriSchemePack

Defines the pack URI scheme name "pack".

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: