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

Returns a value that indicates whether a specified URI is the URI of a PackageRelationship part.

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

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

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

Parameters

partUri
Type: System..::.Uri
The URI to check for a PackageRelationship part.

Return Value

Type: System..::.Boolean
true if partUri identifies a PackageRelationship part; otherwise, false.
Exceptions

ExceptionCondition
ArgumentNullException

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

ArgumentException

partUri is an absolute URI.

-or-

partUri is an invalid PackagePart syntax.

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