GetNormalizedPartUri Method

PackUriHelper.GetNormalizedPartUri Method (Uri)

 

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:
© 2016 Microsoft