The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PackUriHelper.Create Method

Creates a new pack URI.

Name Description
PackUriHelper.Create (Uri) Creates a new pack URI that points to a package.
PackUriHelper.Create (Uri, Uri) Creates a pack URI given a Package URI and the URI of a part in the package.
PackUriHelper.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.

The following table illustrates sample cases for the Create method:




 Returned pack URI 
































Composing a pack URI is a multi-step process, For example, one step in forming a pack URI is to replace the forward slash (/) characters of the packageUri with commas (,).

For more information on string conversion and how pack URIs are formed, see Appendix A.4 "String Conversion Examples" and Appendix B.3 "Composing a Pack URI" in the Open Packaging Conventions specification available for download at