Click or drag to resize

DirectoryName Methods

The DirectoryName type exposes the following members.

Methods
 NameDescription
Public methodCombine(DirectoryName) Combines this directory name with a relative path.
Public methodCombine(FileName) Combines this directory name with a relative path.
Public methodCombineDirectory Combines this directory name with a relative path.
Public methodCombineFile Combines this directory name with a relative path.
Public methodStatic memberCreate(DirectoryName)Obsolete.
Public methodStatic memberCreate(String) Creates a DirectoryName instance from the string. It is valid to pass null or an empty string to this method (in that case, a null reference will be returned).
Public methodEquals(DirectoryName) 
Public methodEquals(Object)
(Overrides ObjectEquals(Object))
Public methodExists Returns true if this directory exists in the file system.
(Overrides PathNameExists)
Public methodGetHashCode
(Overrides ObjectGetHashCode)
Public methodGetParentDirectory Gets the directory name.
(Inherited from PathName)
Public methodGetRelativePath(DirectoryName) Converts the specified absolute path into a relative path (relative to this).
Public methodGetRelativePath(FileName) Converts the specified absolute path into a relative path (relative to this).
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToString
(Inherited from PathName)
Public methodToStringWithTrailingBackslash Gets the directory name as a string, including a trailing backslash.
Top
See Also