Path Methods

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The Path type exposes the following members.

  Name Description
Public method Static member ChangeExtension Changes the extension of a path string.
Public method Static member Combine Combines two strings into a path.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Static member GetDirectoryName Returns the directory information for the specified path string.
Public method Static member GetExtension Returns the extension of the specified path string.
Public method Static member GetFileName Returns the file name and extension of the specified path string.
Public method Static member GetFileNameWithoutExtension Returns the file name of the specified path string without the extension.
Public method Static member GetFullPath Returns the absolute path for the specified path string.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Static member GetInvalidPathChars Gets an array containing the characters that are not allowed in path names.
Public method Static member GetPathRoot Gets the root directory information of the specified path.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member HasExtension Determines whether a path includes a file name extension.
Public method Static member IsPathRooted Gets a value indicating whether the specified path string contains a root.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show: