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.
1 out of 2 rated this helpful - Rate this topic

Path Methods

The Path type exposes the following members.

  NameDescription
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ChangeExtension Changes the extension of a path string.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Combine Combines two path strings.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GetDirectoryName Returns the directory information for the specified path string.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GetExtension Returns the extension of the specified path string.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GetFileName Returns the file name and extension of the specified path string.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GetFileNameWithoutExtension Returns the file name of the specified path string without the extension.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GetFullPath Returns the absolute path for the specified path string.
Public method Static member GetInvalidFileNameChars Gets an array containing the characters that are not allowed in file names.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GetInvalidPathChars Gets an array containing the characters that are not allowed in path names.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GetPathRoot Gets the root directory information of the specified path.
Public method Static member GetRandomFileName Returns a random folder name or file name.
Public method Static member Supported by the .NET Compact Framework GetTempFileName Creates a uniquely named, zero-byte temporary file on disk and returns the full path of that file.
Public method Static member Supported by the .NET Compact Framework GetTempPath Returns the path of the current system's temporary folder.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework HasExtension Determines whether a path includes a file name extension.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework IsPathRooted Gets a value indicating whether the specified path string contains absolute or relative path information.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.