CorLib  

Path

Path overview

Public:

Properties:
AltDirectorySeparator (get) Returns the string for the alternative directory separator character.  
AltDirectorySeparatorChar (get) Returns the character code for the alternative directory separator character.  
DirectorySeparator (get) Returns the directory separator string for Windows.  
DirectorySeparatorChar (get) Returns the directory separator character for Windows.  
PathSeparator (get) The string used to seperate strings in an environment variable.  
PathSeparatorChar (get) The character code used to separate strings in an environment variable.  
VolumeSeparator (get) Returns the string version of the volume separator.  
VolumeSeparatorChar (get) The character code used to separate volume labels from path information.  
Methods:
ChangeExtension Replaces the extension of a filename with a new extension.  
Combine Combintes two paths into a single path.  
GetDirectoryName Returns the directory portion of a file path.  
GetExtension Returns the extension of a filename.  
GetFileName Returns the filename portion of the specified path.  
GetFileNameWithoutExtension Returns the filename portion of a path without the filename extension.  
GetFullPath Creates a full path to the specified filename.  
GetInvalidFileNameChars Returns an array of invalid filename characters.  
GetInvalidPathChars Returns an array of invalid path characters.  
GetPathRoot Returns the root directory of the specified path.  
GetTempFileName Returns the filename for a temporary file.  
GetTempPath Returns the path to the temporary folder for the current user.  
HasExtension Returns if a filename has an extension.  
IsPathRooted Returns an indication if the path is rooted or not.  

See Also