Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Path Methods

 

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticChangeExtension(String, String)

Changes the extension of a path string.

System_CAPS_pubmethodSystem_CAPS_staticCombine(String, String)

Combines two strings into a path.

System_CAPS_pubmethodSystem_CAPS_staticCombine(String, String, String)

Combines three strings into a path.

System_CAPS_pubmethodSystem_CAPS_staticCombine(String, String, String, String)

Combines four strings into a path.

System_CAPS_pubmethodSystem_CAPS_staticCombine(String[])

Combines an array of strings into a path.

System_CAPS_pubmethodSystem_CAPS_staticGetDirectoryName(String)

Returns the directory information for the specified path string.

System_CAPS_pubmethodSystem_CAPS_staticGetExtension(String)

Returns the extension of the specified path string.

System_CAPS_pubmethodSystem_CAPS_staticGetFileName(String)

Returns the file name and extension of the specified path string.

System_CAPS_pubmethodSystem_CAPS_staticGetFileNameWithoutExtension(String)

Returns the file name of the specified path string without the extension.

System_CAPS_pubmethodSystem_CAPS_staticGetFullPath(String)

Returns the absolute path for the specified path string.

System_CAPS_pubmethodSystem_CAPS_staticGetInvalidFileNameChars()

Gets an array containing the characters that are not allowed in file names.

System_CAPS_pubmethodSystem_CAPS_staticGetInvalidPathChars()

Gets an array containing the characters that are not allowed in path names.

System_CAPS_pubmethodSystem_CAPS_staticGetPathRoot(String)

Gets the root directory information of the specified path.

System_CAPS_pubmethodSystem_CAPS_staticGetRandomFileName()

Returns a random folder name or file name.

System_CAPS_pubmethodSystem_CAPS_staticGetTempFileName()

Creates a uniquely named, zero-byte temporary file on disk and returns the full path of that file.

System_CAPS_pubmethodSystem_CAPS_staticGetTempPath()

Returns the path of the current user's temporary folder.

System_CAPS_pubmethodSystem_CAPS_staticHasExtension(String)

Determines whether a path includes a file name extension.

System_CAPS_pubmethodSystem_CAPS_staticIsPathRooted(String)

Gets a value indicating whether the specified path string contains a root.

Return to top
Show:
© 2016 Microsoft