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