xtd 0.2.0
Loading...
Searching...
No Matches

◆ get_invalid_path_chars() [1/2]

template<typename char_t >
static std::vector< char_t > xtd::io::path::get_invalid_path_chars ( )
inlinestaticnoexcept

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

Returns
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. For example, on Windows-based desktop platforms, invalid path characters might include ASCII/Unicode characters 1 through 31, as well as quote ("), less than (<), greater than (>), pipe (|), backspace (), null (\0) and tab (\t).