StorageFileHelper.IsFilePathValid(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.
Gets a value indicating whether a file path is correct or not using the Storage feature.
public static bool IsFilePathValid (string filePath);
static member IsFilePathValid : string -> bool
Public Function IsFilePathValid (filePath As String) As Boolean
Parameters
- filePath
- String
The file path to test. Must include the file extension and is not case-sensitive.
Returns
true
if the file path is valid; otherwise, false
.