Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
System.IO Namespace
Path Class
Path Methods
Collapse All/Expand All Collapse All
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
Path Methods

The Path type exposes the following members.

  NameDescription
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkChangeExtensionChanges the extension of a path string.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCombineCombines two path strings.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetDirectoryNameReturns the directory information for the specified path string.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetExtensionReturns the extension of the specified path string.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetFileNameReturns the file name and extension of the specified path string.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetFileNameWithoutExtensionReturns the file name of the specified path string without the extension.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetFullPathReturns the absolute path for the specified path string.
Public methodStatic memberGetInvalidFileNameCharsGets an array containing the characters that are not allowed in file names.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetInvalidPathCharsGets an array containing the characters that are not allowed in path names.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetPathRootGets the root directory information of the specified path.
Public methodStatic memberGetRandomFileNameReturns a random folder name or file name.
Public methodStatic memberSupported by the .NET Compact FrameworkGetTempFileNameCreates a uniquely named, zero-byte temporary file on disk and returns the full path of that file.
Public methodStatic memberSupported by the .NET Compact FrameworkGetTempPathReturns the path of the current system's temporary folder.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkHasExtensionDetermines whether a path includes a file name extension.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkIsPathRootedGets a value indicating whether the specified path string contains absolute or relative path information.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker