Path Methods |
The Path type exposes the following members.
Name | Description | |
---|---|---|
Combine(String) | Combines an array of strings into a path. | |
Combine(String, String) | Combines two strings into a path. | |
Combine(String, String, String) | Combines three strings into a path. | |
Combine(String, String, String, String) | Combines four strings into a path. | |
GetDirectoryName | Returns the directory information for the specified path string. | |
GetExtension | Returns the extension of the specified path string. | |
GetFileName | Returns the file name and extension of the specified path string. | |
GetFileNameWithoutExtension | Returns the file name of the specified path string without the extension. | |
GetFullPath | Returns the absolute path for the specified path string. | |
GetInvalidFileNameChars | Gets an array containing the characters that are not allowed in file names. | |
GetInvalidPathChars | Gets an array containing the characters that are not allowed in path names. | |
IsPathRooted | Gets a value indicating whether the specified path string contains a root. |