NameValidator.ValidateFileName(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.
Checks if a file name is valid.
public static void ValidateFileName (string fileName);
static member ValidateFileName : string -> unit
Public Shared Sub ValidateFileName (fileName As String)
Parameters
- fileName
- String
A string representing the file name to validate.