GetInvalidFileNameChars Method

Path.GetInvalidFileNameChars Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets an array containing the characters that are not allowed in file names.

Namespace:  System.IO
Assembly:  mscorlib (in mscorlib.dll)

public static char[] GetInvalidFileNameChars()

Return Value

Type: System.Char []
An array containing the characters that are not allowed in file names.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft