The PathUtils type exposes the following members.
Constructors
Methods
Name | Description | |
---|---|---|
AddTrailingSlash |
Adds a trailing slash to the specified path. For example /my/path will be converted to /my/path/.
| |
BaseName | ||
Equals | (Inherited from Object.) | |
FileName | ||
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.) | |
GetExtension |
Returns the extension of a file.
| |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
IsAbsolutePath |
Returns true/false if a path is absolute or not.
| |
IsChildPath |
Verifies that the specified path is a child/subpath of the parent path.
| |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
RemoveTrailingSlash |
Removes any trailing slash from a path. For example /my/path/ will be converted to /my/path.
| |
ToOSPath |
Converts a Unix style path to a local file system path.
| |
ToString | (Inherited from Object.) | |
ToUnixPath |
Converts a system path to a Unix style path with "/".
|