PackUriHelper.IsRelationshipPartUri(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 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
.
Remarks
This method does not inspect the part contents; it is based solely on the name.
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.