.NET Framework Class Library
PackUriHelper..::.GetNormalizedPartUri Method

Returns the normalized form of a specified PackagePart URI.

Namespace:  System.IO.Packaging
Assembly:  WindowsBase (in WindowsBase.dll)
Syntax

Visual Basic (Declaration)
Public Shared Function GetNormalizedPartUri ( _
    partUri As Uri _
) As Uri
Visual Basic (Usage)
Dim partUri As Uri
Dim returnValue As Uri

returnValue = PackUriHelper.GetNormalizedPartUri(partUri)
C#
public static Uri GetNormalizedPartUri(
    Uri partUri
)
Visual C++
public:
static Uri^ GetNormalizedPartUri(
    Uri^ partUri
)
JScript
public static function GetNormalizedPartUri(
    partUri : Uri
) : Uri
XAML
You cannot use methods in XAML.

Parameters

partUri
Type: System..::.Uri
The PackagePart URI to normalize.

Return Value

Type: System..::.Uri
The normalized form of the given partUri.
Exceptions

ExceptionCondition
ArgumentNullException

partUri is nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

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

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0
See Also

Reference

Other Resources

Tags :


Page view tracker