Click or drag to resize

PathName Class

Represents a path to a file or directory.
Inheritance Hierarchy

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public abstract class PathName

The PathName type exposes the following members.

Constructors
 NameDescription
Protected methodPathName(PathName)Initializes a new instance of the PathName class
Protected methodPathName(String)Initializes a new instance of the PathName class
Top
Properties
 NameDescription
Public propertyIsRelative Gets whether this path is relative.
Top
Methods
 NameDescription
Public methodStatic memberCreateFromExisting Creates a path from a name that could be a file or a folder name. If a file with the given name exists in the file system, it is decided that this is a file name, and a FileName is returned. If a folder with the given name exists in the file system, then it is decided that this is a folder, and a DirectoryName is returned. If neither of the two cases above applies, null is returned.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExists Returns true if this directory exists in the file system.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetParentDirectory Gets the directory name.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToString
(Overrides ObjectToString)
Public methodStatic memberToStringPath 
Top
Operators
 NameDescription
Public operatorStatic member(PathName to String) 
Top
Fields
 NameDescription
Protected field_normalizedPath 
Top
See Also