Edit

Share via


StorageFileHelper.IsFilePathValid(String) Method

Definition

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.

Applies to