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)
Syntax
'Declaration
Public Shared Function GetInvalidPathChars As Char()
public static char[] GetInvalidPathChars()
public:
static array<wchar_t>^ GetInvalidPathChars()
static member GetInvalidPathChars : unit -> char[]
public static function GetInvalidPathChars() : char[]
Return Value
Type: array<System. . :: . .Char> [] () [] []
An array containing the characters that are not allowed in path names.
Remarks
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.