PackUriHelper Methods

The PackUriHelper type exposes the following members.

  NameDescription
Public method Static member ComparePackUri Returns a value that indicates whether two pack URIs are equivalent.
Public method Static member ComparePartUri Returns a value that indicates whether two package part URIs are equivalent.
Public method Static member Create(Uri) Creates a new pack URI that points to a package.
Public method Static member Create(Uri, Uri) Creates a pack URI given a Package URI and the URI of a part in the package.
Public method Static member 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.
Public method Static member CreatePartUri Creates a formatted PackagePart URI.
Public method Static member GetNormalizedPartUri Returns the normalized form of a specified PackagePart URI.
Public method Static member GetPackageUri Returns the inner URI that points to the entire package of a specified pack URI.
Public method Static member GetPartUri Returns the URI of a PackagePart within a specified pack URI.
Public method Static member GetRelationshipPartUri Returns the URI of the relationship part associated with a specified PackagePart.
Public method Static member GetRelativeUri Returns the relative URI between two specified PackagePart URIs.
Public method Static member GetSourcePartUriFromRelationshipPartUri Returns the SourceUri from the PackageRelationship with a specified URI.
Public method Static member IsRelationshipPartUri Returns a value that indicates whether a specified URI is the URI of a PackageRelationship part.
Public method Static member ResolvePartUri Returns a part URI given a source part URI and a URI with a relative path to a target part.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft