Click or drag to resize
Path Class
Performs operations on String instances that contain file or directory path information.
Inheritance Hierarchy
SystemObject
  CMS.IOPath

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 13.0.131
Syntax
C#
public static class Path

The Path type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberAltDirectorySeparatorChar
Provides a platform-specific alternate character used to separate directory levels in a path string that reflects a hierarchical file system organization.
Public propertyStatic memberDirectorySeparatorChar
Provides a platform-specific character used to separate directory levels in a path string that reflects a hierarchical file system organization.
Top
Methods
  NameDescription
Public methodStatic memberCombine(String)
Combines an array of strings into a path.
Public methodStatic memberCombine(String, String)
Combines two strings into a path.
Public methodStatic memberEnsureEndSlash
Ensures that path ends with a DirectorySeparatorChar.
Public methodStatic memberEnsureForwardSlashes
Ensures that path contains slashes '/'
Public methodStatic memberEnsureSlashes
Ensures that path contains DirectorySeparatorChar.
Public methodStatic memberFindExistingDirectory
Finds the existing folder based on the given relative path
Public methodStatic memberFindExistingFile
Finds the existing file based on the given relative path
Public methodStatic memberGetDirectoryName
Gets the directory name from the given path
Public methodStatic memberGetExtension
Returns the extension of the specified path string.
Public methodStatic memberGetFileName
Gets the file name from the given path
Public methodStatic memberGetFileNameWithoutExtension
Returns the file name of the specified path string without the extension.
Public methodStatic memberGetFullPath
Returns the absolute path for the specified path string.
Public methodStatic memberGetInvalidPathChars
Gets an array containing the characters that are not allowed in path names.
Public methodStatic memberGetMappedPath
Gets the mapped path for the given path. Returns true if the path was mapped
Public methodStatic memberHasExtension
Determines whether a path includes a file name extension.
Public methodStatic memberIsPathMapped
Returns true, if the given path is a mapped path
Public methodStatic memberIsPathRooted
Gets a value indicating whether the specified path string contains absolute or relative path information.
Public methodStatic memberRegisterMappedPath
Maps the folder to another folder
Public methodStatic memberRegisterMappedZippedFolder
Registers folder which is mapped to a zip file
Top
See Also