The following tables list the members exposed by the Path type.

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