Returns the normalized form of a specified PackagePart URI.
Namespace:
System.IO.Packaging
Assembly:
WindowsBase (in WindowsBase.dll)
Visual Basic (Declaration)
Public Shared Function GetNormalizedPartUri ( _
partUri As Uri _
) As Uri
Dim partUri As Uri
Dim returnValue As Uri
returnValue = PackUriHelper.GetNormalizedPartUri(partUri)
public static Uri GetNormalizedPartUri(
Uri partUri
)
public:
static Uri^ GetNormalizedPartUri(
Uri^ partUri
)
public static function GetNormalizedPartUri(
partUri : Uri
) : Uri
You cannot use methods in XAML.
Return Value
Type:
System..::.UriThe normalized form of the given partUri.
| Exception | Condition |
|---|
| ArgumentNullException |
partUri is nullNothingnullptra null reference (Nothing in Visual Basic). |
GetNormalizedPartUri normalizes partUri by case-folding to uppercase (String..::.ToUpperInvariant) and returning the result.
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.
.NET Framework
Supported in: 3.5, 3.0
Reference
Other Resources