Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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: