Path MembersKentico 8.1 API Reference
The Path type exposes the following members.
Methods

  NameDescription
Public methodStatic memberCombine
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
Back to Top
See Also