Version

PartExists Method (Package)

Indicates whether a part with a given URI is in the package.
Syntax
public bool PartExists( 
   Uri partUri
)

Parameters

partUri
The System.Uri of the part to check for.

Return Value

true if a part with the specified partUri is in the package; otherwise, false.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also