Breyta

Deila með


PackUriHelper.GetNormalizedPartUri(Uri) Method

Definition

Returns the normalized form of a specified PackagePart URI.

public:
 static Uri ^ GetNormalizedPartUri(Uri ^ partUri);
public static Uri GetNormalizedPartUri (Uri partUri);
static member GetNormalizedPartUri : Uri -> Uri
Public Shared Function GetNormalizedPartUri (partUri As Uri) As Uri

Parameters

partUri
Uri

The PackagePart URI to normalize.

Returns

Uri

The normalized form of the given partUri.

Exceptions

partUri is null.

partUri does not have a valid Uri syntax.

Remarks

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

Applies to

See also