Mono Class Library: Overview

System.IO.Path: Members

The members of System.IO.Path are listed below.

See Also: Inherited members from System.Object

Public Fields

static readonly
AltDirectorySeparatorCharchar. Provides a string containing an alternate single printable non-alphanumeric character used to separate directory levels in a hierarchical file system.
static readonly
DirectorySeparatorCharchar. Provides a string containing a single printable non-alphanumeric character used to separate directory levels in a hierarchical file system.
static readonly
InvalidPathCharschar[]. Provides a platform-specific array of characters invalid to use in a path.
static readonly
PathSeparatorchar. Provides a implementation-specific separator character used to separate path strings in environment variables.
static readonly
VolumeSeparatorCharchar. Documentation for this section has not yet been entered.

Public Methods

static
ChangeExtension(string, string) : string
Changes the extension component of the specified path string.
static
Combine(string, string) : string
Concatenates two path strings.
static
GetDirectoryName(string) : string
Returns the directory name component of the specified path string.
static
GetExtension(string) : string
Returns the extension component of the specified path string.
static
GetFileName(string) : string
Returns the file name, including the extension if any, of the specified path string.
static
GetFileNameWithoutExtension(string) : string
Returns the file base component of the specified path string without the extension.
static
GetFullPath(string) : string
Returns information required to uniquely identify a file within a file system.
static
GetInvalidFileNameChars() : char[]
Documentation for this section has not yet been entered.
static
GetInvalidPathChars() : char[]
Documentation for this section has not yet been entered.
static
GetPathRoot(string) : string
Returns the path root component of the specified path.
static
GetRandomFileName() : string
Documentation for this section has not yet been entered.
static
GetTempFileName() : string
Returns a unique temporary file name and creates a 0-byte file by that name on disk.
static
GetTempPath() : string
Returns the path information of a temporary directory.
static
HasExtension(string) : bool
Returns a bool indicating whether the specified path includes an extension component.
static
IsPathRooted(string) : bool
Returns a bool indicating whether the specified path string contains a path root component.