Path

Description

The Path class is used to work with character variables that contain information about a path to a file or a directory.

Static class methods inherited from IPath

  Method name Brief description
The ChangeExtension method returns the string that contains changed information of a path.
The Combine method combines two strings of a path.
The GetDirectoryName method returns information about a directory for the specified path.
The GetExtension method returns the extension of the specified path string.
The GetFileName method returns a file name and an extension of the specified path string.
The GetFileNameWithoutExtension method returns the file name of the specified path string without an extension.
The GetFullPath method returns an absolute path for the specified path string.
The GetPathRoot method returns the path to a root directory.
The GetTempFileName method creates a temporary file with a unique name and returns an absolute path to it.
The GetTempPath method returns the path to a temporary directory for the current system user.
The HasExtension method returns True if a path includes a file name extension.
The IsPathRooted method returns whether an absolute path to a file is present in the specified string.

See also:

IO Assembly Classes