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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.