Export (0) Print
Expand All

Path Members

Performs operations on String instances that contain file or directory path information. These operations are performed in a cross-platform manner.

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

  NameDescription
Public field Static member Supported by the .NET Compact Framework Supported by the XNA Framework AltDirectorySeparatorChar Provides a platform-specific alternate character used to separate directory levels in a path string that reflects a hierarchical file system organization.
Public field Static member Supported by the .NET Compact Framework Supported by the XNA Framework DirectorySeparatorChar Provides a platform-specific character used to separate directory levels in a path string that reflects a hierarchical file system organization.
Public field Static member Supported by the .NET Compact Framework Supported by the XNA Framework InvalidPathChars Obsolete. Provides a platform-specific array of characters that cannot be specified in path string arguments passed to members of the Path class.
Public field Static member Supported by the .NET Compact Framework Supported by the XNA Framework PathSeparator A platform-specific separator character used to separate path strings in environment variables.
Public field Static member Supported by the .NET Compact Framework Supported by the XNA Framework VolumeSeparatorChar Provides a platform-specific volume separator character.
Top

Community Additions

ADD
Show:
© 2015 Microsoft