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

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the normalized form of a specified PackagePart URI.

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

public static Uri GetNormalizedPartUri(
	Uri partUri
)

Parameters

partUri
Type: System.Uri

The PackagePart URI to normalize.

Return Value

Type: System.Uri

The normalized form of the given partUri.

Exception Condition
ArgumentNullException

partUri is null.

GetNormalizedPartUri normalizes partUri by case-folding to uppercase (String.ToUpperInvariant) and returning the result.

.NET Framework
Available since 3.0
Return to top
Show: