PackUriHelper Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides utility methods to compose and parse pack URI objects.
public ref class PackUriHelper abstract sealed
public static class PackUriHelper
type PackUriHelper = class
Public Class PackUriHelper
- Inheritance
-
PackUriHelper
Fields
UriSchemePack |
Defines the pack URI scheme name "pack". |
Methods
ComparePackUri(Uri, Uri) |
Returns a value that indicates whether two pack URIs are equivalent. |
ComparePartUri(Uri, Uri) |
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(Uri) |
Creates a formatted PackagePart URI. |
GetNormalizedPartUri(Uri) |
Returns the normalized form of a specified PackagePart URI. |
GetPackageUri(Uri) |
Returns the inner URI that points to the entire package of a specified pack URI. |
GetPartUri(Uri) |
Returns the URI of a PackagePart within a specified pack URI. |
GetRelationshipPartUri(Uri) |
Returns the URI of the relationship part associated with a specified PackagePart. |
GetRelativeUri(Uri, Uri) |
Returns the relative URI between two specified PackagePart URIs. |
GetSourcePartUriFromRelationshipPartUri(Uri) |
Returns the SourceUri from the PackageRelationship with a specified URI. |
IsRelationshipPartUri(Uri) |
Returns a value that indicates whether a specified URI is the URI of a PackageRelationship part. |
ResolvePartUri(Uri, Uri) |
Returns a part URI given a source part URI and a URI with a relative path to a target part. |