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.
| |
EnsureEndSlash |
Ensures that path ends with a DirectorySeparatorChar.
| |
EnsureForwardSlashes |
Ensures that path contains slashes '/'
| |
EnsureSlashes |
Ensures that path contains DirectorySeparatorChar.
| |
FindExistingDirectory |
Finds the existing folder based on the given relative path
| |
FindExistingFile |
Finds the existing file based on the given relative path
| |
GetDirectoryName |
Gets the directory name from the given path
| |
GetExtension |
Returns the extension of the specified path string.
| |
GetFileName |
Gets the file name from the given path
| |
GetFileNameWithoutExtension |
Returns the file name of the specified path string without the extension.
| |
GetFullPath |
Returns the absolute path for the specified path string.
| |
GetInvalidPathChars |
Gets an array containing the characters that are not allowed in path names.
| |
GetMappedPath |
Gets the mapped path for the given path. Returns true if the path was mapped
| |
HasExtension |
Determines whether a path includes a file name extension.
| |
IsPathMapped |
Returns true, if the given path is a mapped path
| |
IsPathRooted |
Gets a value indicating whether the specified path string contains absolute or relative path information.
| |
RegisterMappedPath |
Maps the folder to another folder
| |
RegisterMappedZippedFolder |
Registers folder which is mapped to a zip file
|