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: 10.0.0
Syntax
C#
public static class Path

The Path type exposes the following members.

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 memberEnsureBackslashes
Ensures that path contains backslashes '\'
Public methodStatic memberEnsureEndBackslash
Ensures that path ends with backslash '\'
Public methodStatic memberEnsureSlashes
Ensures that path contains slashes '/'
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 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