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.GetPackageUri Method (Uri)


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

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

public static Uri GetPackageUri(
	Uri packUri


Type: System.Uri

The pack URI from which to return the URI of the Package.

Return Value

Type: System.Uri

The URI of the Package from the specified packUri.

The following table illustrates sample cases for GetPackageUri.


 Returned Package URI 







.NET Framework
Available since 3.0
Return to top