The following tables list the members exposed by the Path type.
| Name | Description | |
|---|---|---|
|
ChangeExtension(string, string) | Change an extension |
|
Combine(params string[]) | Combine three or more path parts |
|
Equals(Object) | Determines whether the specified object is equal to the current object. (inherited from Object). |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object). |
|
GetDirectoryName(string) | Get a directory name |
|
GetDrive(string) | Get the root path |
|
GetExtension(string) | Get the extension from a path |
|
GetFileName(string) | Get a file name from a path |
|
GetFileNameWithoutExtension(string) | Get a file name without an extension |
|
GetFullPath(string) | Get the full path |
|
GetHashCode | Serves as the default hash function. (inherited from Object). |
|
GetInvalidFileNameChars() | Get invalid file name characters |
|
GetInvalidPathChars() | Get invalid path characters |
|
GetPathRoot(string) | |
|
GetTempFileName() | Get the temp path name |
|
GetTempPath() | Get a temporary path |
|
GetType | Gets the Type of the current instance. (inherited from Object). |
|
HasExtension(string) | Does this have an extension? |
|
IsPathRooted(string) | Is a path rooted |
|
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). |
|
ToString | Returns a string that represents the current object. (inherited from Object). |