IFileSystem.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:
System::Threading::Tasks::Task<bool> ^ AppPackageFileExistsAsync(System::String ^ filename);
public System.Threading.Tasks.Task<bool> AppPackageFileExistsAsync (string filename);
abstract member AppPackageFileExistsAsync : string -> System.Threading.Tasks.Task<bool>
Public Function AppPackageFileExistsAsync (filename As String) As Task(Of Boolean)
Parameters
- filename
- String
The name of the file (excluding the path) to load from the app package.
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.