[This is preliminary documentation and is subject to change.]

The Paths type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
Compare(String, String)
Returns true if paths or filenames reference the same location (accounts for all the filesystem quirks).
Compare(String, String, Boolean)
Returns true if paths or filenames reference the same location (accounts for all the filesystem quirks).
Contains(String, String)
Checks whether childPath is inside parentPath
Contains(String, String, Boolean)
Checks whether childPath is inside parentPath
Exists(FileInfo, Boolean)
Checks whether the file exists in a specified way (case-sensitive or case-insensitive)
FileExists(String, Boolean)
Checks whether the file exists in a specified way (case-sensitive or case-insensitive)
FindFiles(String)
Find files that match the name in a case-insensitive way.
ForceRename(String, String)
Allows making changes to filename capitalization on case-insensitive filesystems.
IsDefaultMapPath(String)
IsProtectedFileName(String)
IsValidPath(String)
MoveOrReplace(String, String)
TestDirectory(String, String, Boolean)
Makes sure that the path format is valid, that it exists, that it is accessible and writeable.
TestFile(String, String, Boolean, FileAccess)
Makes sure that the path format is valid, and optionally whether it is readable/writeable.

See Also