.NET Framework Class Library
Path Methods
Public Methods
| Name | Description | |
|---|---|---|
| ChangeExtension | Changes the extension of a path string. |
| Combine | Combines two path strings. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| 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. |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| 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. |
| GetPathRoot | Gets the root directory information of the specified path. |
| GetRandomFileName | Returns a random folder name or file name. |
| GetTempFileName | Creates a uniquely named, zero-byte temporary file on disk and returns the full path of that file. |
| GetTempPath | Returns the path of the current system's temporary folder. |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| HasExtension | Determines whether a path includes a file name extension. |
| IsPathRooted | Gets a value indicating whether the specified path string contains absolute or relative path information. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
See Also