Edit

Share via


StorageFileHelper.IsFileNameValid(String) Method

Definition

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.

Applies to