PackUriHelper Class
 

Provides utility methods to compose and parse pack URI objects.

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

SystemObject
  System.IO.PackagingPackUriHelper

public static class PackUriHelper
public ref class PackUriHelper abstract sealed 
[<AbstractClass>]
[<Sealed>]
type PackUriHelper = class end
Public NotInheritable Class PackUriHelper
NameDescription
System_CAPS_pubmethod System_CAPS_static ComparePackUri

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

System_CAPS_pubmethod System_CAPS_static ComparePartUri

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

System_CAPS_pubmethod System_CAPS_static Create

Creates a new pack URI that points to a package.

System_CAPS_pubmethod System_CAPS_static Create

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

System_CAPS_pubmethod System_CAPS_static Create

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

System_CAPS_pubmethod System_CAPS_static CreatePartUri

Creates a formatted PackagePart URI.

System_CAPS_pubmethod System_CAPS_static GetNormalizedPartUri

Returns the normalized form of a specified PackagePart URI.

System_CAPS_pubmethod System_CAPS_static GetPackageUri

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

System_CAPS_pubmethod System_CAPS_static GetPartUri

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

System_CAPS_pubmethod System_CAPS_static GetRelationshipPartUri

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

System_CAPS_pubmethod System_CAPS_static GetRelativeUri

Returns the relative URI between two specified  PackagePart URIs.

System_CAPS_pubmethod System_CAPS_static GetSourcePartUriFromRelationshipPartUri

Returns the from the PackageRelationship with a specified URI.

System_CAPS_pubmethod System_CAPS_static IsRelationshipPartUri

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

System_CAPS_pubmethod System_CAPS_static ResolvePartUri

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

NameDescription
System_CAPS_pubfield System_CAPS_static UriSchemePack

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