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
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ChangeExtension When it is called by trusted applications, changes the extension of a path string.
Public methodStatic member Combine(array<String[]) When it is called by trusted applications, combines an array of strings into a path.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Combine(String, String) When it is called by trusted applications, combines two path strings.
Public methodStatic member Combine(String, String, String) When it is called by trusted applications, combines four strings into a path.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetDirectoryName When it is called by trusted applications, returns the directory information for the specified path string.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetExtension When it is called by trusted applications, returns the extension of the specified path string.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetFileName When it is called by trusted applications, returns the file name and extension of the specified path string.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetFileNameWithoutExtension When it is called by trusted applications, returns the file name of the specified path string without the extension.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetFullPath When it is called by trusted applications, returns the absolute path for the specified path string.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetInvalidPathChars When it is called by trusted applications, gets an array containing the characters that are not allowed in path names.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetPathRoot Gets the root directory information of the specified path.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetTempFileName Creates a uniquely named, zero-byte temporary file on disk and returns the full path of that file.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetTempPath Returns the path of the current system's temporary folder.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 HasExtension When it is called by trusted applications, determines whether a path includes a file name extension.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 IsPathRooted Gets a value indicating whether the specified path string contains a root.

Top

See Also

Reference