Click or drag to resize

DirectoryName Class

Represents a path to a directory. The equality operator is overloaded to compare for path equality (case insensitive, normalizing paths with '..\')
Inheritance Hierarchy
SystemObject
  Altaxo.Main.ServicesPathName
    Altaxo.Main.ServicesDirectoryName

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
[TypeConverterAttribute(typeof(DirectoryNameConverter))]
public sealed class DirectoryName : PathName

The DirectoryName type exposes the following members.

Constructors
 NameDescription
Public methodDirectoryName(DirectoryName)Obsolete.
Initializes a new instance of the DirectoryName class
Public methodDirectoryName(String)Initializes a new instance of the DirectoryName class
Top
Properties
 NameDescription
Public propertyIsRelative Gets whether this path is relative.
(Inherited from PathName)
Top
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
Operators
See Also