| Directory | 
The DirectoryName type exposes the following members.
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Combine(DirectoryName) | Combines this directory name with a relative path. | 
|  | Combine(FileName) | Combines this directory name with a relative path. | 
|  | CombineDirectory | Combines this directory name with a relative path. | 
|  | CombineFile | Combines this directory name with a relative path. | 
|   | Create(DirectoryName) | Obsolete. | 
|   | Create(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). | 
|  | Equals(DirectoryName) | |
|  | Equals(Object) | (Overrides ObjectEquals(Object)) | 
|  | Exists | Returns true if this directory exists in the file system. (Overrides PathNameExists) | 
|  | GetHashCode | (Overrides ObjectGetHashCode) | 
|  | GetParentDirectory | Gets the directory name. (Inherited from PathName) | 
|  | GetRelativePath(DirectoryName) | Converts the specified absolute path into a relative path (relative to this). | 
|  | GetRelativePath(FileName) | Converts the specified absolute path into a relative path (relative to this). | 
|  | GetType | Gets the Type of the current instance. (Inherited from Object) | 
|  | ToString | (Inherited from PathName) | 
|  | ToStringWithTrailingBackslash | Gets the directory name as a string, including a trailing backslash. | 
 See Also
See Also