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

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.

ExceptionCondition
ArgumentNullException

partUri is null.

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft