FileSystem.AppPackageFileExistsAsync(String) 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.
Determines whether or not a file exists in the app package.
public:
static System::Threading::Tasks::Task<bool> ^ AppPackageFileExistsAsync(System::String ^ filename);
public static System.Threading.Tasks.Task<bool> AppPackageFileExistsAsync (string filename);
static member AppPackageFileExistsAsync : string -> System.Threading.Tasks.Task<bool>
Public Shared Function AppPackageFileExistsAsync (filename As String) As Task(Of Boolean)
Parameters
- filename
- String
The path of the file (relative to the app package) to check the existence of.
Returns
true
when the specified file exists in the app package, otherwise false
.
Applies to
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.