Method IsValidWindowsFileName
IsValidWindowsFileName(string)
Checks if a given file name is valid according to Windows file name rules.
Declaration
public static AnnotatedBoolean IsValidWindowsFileName(string fileName)
Parameters
Type | Name | Description |
---|---|---|
string | fileName | The file name to validate. |
Returns
Type | Description |
---|---|
AnnotatedBoolean | An AnnotatedBoolean indicating whether the file name is valid and, if not, which invalid character or part is present in the file name. |