Bewerken

Delen via


PackUriHelper.IsRelationshipPartUri(Uri) Method

Definition

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

public:
 static bool IsRelationshipPartUri(Uri ^ partUri);
public static bool IsRelationshipPartUri (Uri partUri);
static member IsRelationshipPartUri : Uri -> bool
Public Shared Function IsRelationshipPartUri (partUri As Uri) As Boolean

Parameters

partUri
Uri

The URI to check for a PackageRelationship part.

Returns

true if partUri identifies a PackageRelationship part; otherwise, false.

Exceptions

partUri is null.

partUri is an absolute URI.

-or-

partUri is an invalid PackagePart syntax.

Remarks

This method does not inspect the part contents; it is based solely on the name.

Applies to

See also