Validate.ValidateFileName(String, 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.
public static void ValidateFileName (string element, string exceptionMessage = default);
static member ValidateFileName : string * string -> unit
Public Shared Sub ValidateFileName (element As String, Optional exceptionMessage As String = Nothing)
Parameters
- element
- String
- exceptionMessage
- String