PackUriHelper.GetNormalizedPartUri(Uri) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.