Path Methods
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
The Path type exposes the following members.
Methods
Name | Description | |
---|---|---|
ChangeExtension | When it is called by trusted applications, changes the extension of a path string. | |
Combine(array<String[]) | When it is called by trusted applications, combines an array of strings into a path. | |
Combine(String, String) | When it is called by trusted applications, combines two path strings. | |
Combine(String, String, String) | When it is called by trusted applications, combines four strings into a path. | |
GetDirectoryName | When it is called by trusted applications, returns the directory information for the specified path string. | |
GetExtension | When it is called by trusted applications, returns the extension of the specified path string. | |
GetFileName | When it is called by trusted applications, returns the file name and extension of the specified path string. | |
GetFileNameWithoutExtension | When it is called by trusted applications, returns the file name of the specified path string without the extension. | |
GetFullPath | When it is called by trusted applications, returns the absolute path for the specified path string. | |
GetInvalidPathChars | When it is called by trusted applications, gets an array containing the characters that are not allowed in path names. | |
GetPathRoot | Gets the root directory information of the specified path. | |
GetTempFileName | Creates a uniquely named, zero-byte temporary file on disk and returns the full path of that file. | |
GetTempPath | Returns the path of the current system's temporary folder. | |
HasExtension | When it is called by trusted applications, determines whether a path includes a file name extension. | |
IsPathRooted | Gets a value indicating whether the specified path string contains a root. |
Top