IPath

Description

The IPath interface contains static methods of the Path class.

Inheritance Hierarchy

IPath

Methods

  Method name Brief description
ChangeExtension

The ChangeExtension method returns the string that contains changed information of a path.
Combine

The Combine method combines two strings of a path.
GetDirectoryName

The GetDirectoryName method returns information about a directory for the specified path.
GetExtension

The GetExtension method returns the extension of the specified path string.
GetFileName

The GetFileName method returns a file name and an extension of the specified path string.
GetFileNameWithoutExtension

The GetFileNameWithoutExtension method returns the file name of the specified path string without an extension.
GetFullPath

The GetFullPath method returns an absolute path for the specified path string.
GetPathRoot

The GetPathRoot method returns the path to a root directory.
GetTempFileName

The GetTempFileName method creates a temporary file with a unique name and returns an absolute path to it.
GetTempPath

The GetTempPath method returns the path to a temporary directory for the current system user.
HasExtension

The HasExtension method returns True if a path includes a file name extension.
IsPathRooted

The IsPathRooted method returns whether an absolute path to a file is present in the specified string.

See also:

IO Assembly Interfaces