The PathUtil type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() | Combine(String, String) |
Combines two paths.
|
![]() ![]() | Combine(Char, String, String) |
Combines two paths.
|
![]() ![]() | Combine(String, String, array<String>[]()[][]) |
Combines an arbitrary number of paths.
|
![]() ![]() | Combine(Char, String, String, array<String>[]()[][]) |
Combines an arbitrary number of paths.
|
![]() ![]() | EnsureTrailingSeparator(String) |
Ensures that the last character is a separator character
|
![]() ![]() | EnsureTrailingSeparator(Char, String) |
Ensures that the last character is a separator character.
|
![]() | Equals | (Inherited from Object.) |
![]() ![]() | Explode(String) |
Splits the path into parts.
|
![]() ![]() | Explode(Char, String) |
Splits the path into parts.
|
![]() | Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() ![]() | Fix(String) |
Cleans up a path such that, for example, "/A/B/../C" becomes "/A/C".
|
![]() ![]() | Fix(array<String>[]()[][]) |
Cleans up a path such that, for example, "/A/B/../C" becomes "/A/C".
|
![]() ![]() | Fix(Char, String) |
Cleans up a path such that, for example, "/A/B/../C" becomes "/A/C".
|
![]() ![]() | Fix(Char, array<String>[]()[][]) |
Cleans up a path such that, for example, "/A/B/../C" becomes "/A/C".
|
![]() ![]() | GetAbsolutePath(String, String) |
Return the fixed absolute path for the given directory based on the given base directory.
|
![]() ![]() | GetAbsolutePath(Char, String, String) |
Return the fixed absolute path for the given directory based on the given base directory.
|
![]() ![]() | GetExtension(String) |
Gets the extension of the filename.
|
![]() ![]() | GetExtension(Char, String) |
Gets the extension of the filename.
|
![]() ![]() | GetFileName(String) |
Gets the file-name without its path.
|
![]() ![]() | GetFileName(Char, String) |
Gets the file-name without its path.
|
![]() ![]() | GetFileNameWithoutExtension(String) |
Returns the filename of the specified path without the extension.
|
![]() ![]() | GetFileNameWithoutExtension(Char, String) |
Returns the filename of the specified path without the extension.
|
![]() ![]() | GetFolderPath(String) |
Gets the folder-path without the file-name
|
![]() ![]() | GetFolderPath(Char, String) |
Gets the folder-path without the file-name. If there are no
separators in the path, return the path as is
|
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() ![]() | Implode(array<String>[]()[][]) |
Combines parts into a single path.
|
![]() ![]() | Implode(array<String>[]()[][], Int32) |
Combines parts into a single path.
|
![]() ![]() | Implode(array<String>[]()[][], Int32, Int32) |
Combines parts into a single path.
|
![]() ![]() | IsAbsolute(String) |
Indicates whether or not a path is absolute (i.e. starts with '/').
|
![]() ![]() | IsAbsolute(Char, String) |
Indicates whether or not a path is absolute (i.e. starts with '/').
|
![]() ![]() | IsRelative(String) |
Indicates whether or not a path is relative (i.e. does not start with '/').
|
![]() ![]() | IsRelative(Char, String) |
Indicates whether or not a path is relative (i.e. does not start with '/').
|
![]() | MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |