GetInvalidPathChars Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

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

'Declaration
Public Shared Function GetInvalidPathChars As Char()

Return Value

Type: array<System..::..Char>[]()[][]
An array containing the characters that are not allowed in path names.

The array returned from this method is not guaranteed to contain the complete set of characters that are invalid in file and directory names. The full set of invalid characters can vary by file system.

Show: