Path |
public abstract class PathName
The PathName type exposes the following members.
Name | Description | |
---|---|---|
PathName(PathName) | Initializes a new instance of the PathName class | |
PathName(String) | Initializes a new instance of the PathName class |
Name | Description | |
---|---|---|
IsRelative | Gets whether this path is relative. |
Name | Description | |
---|---|---|
CreateFromExisting | 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. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Exists | Returns true if this directory exists in the file system. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetParentDirectory | Gets the directory name. | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ToString | (Overrides ObjectToString) | |
ToStringPath |
Name | Description | |
---|---|---|
(PathName to String) |
Name | Description | |
---|---|---|
_normalizedPath |