The DirectoryElements type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DirectoryElements |
Initializes a new instance of the DirectoryElements class.
|
Methods
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RemoveElement |
Removes a file from the current directory elements list.
| |
| Scan |
Scans the specified directory (and subdirectories, if required)
| |
| ToString |
Returns a String that represents a description of the current directory Object.
(Overrides Object..::..ToString()()()().) |
Properties
| Name | Description | |
|---|---|---|
| Directory |
Initial Directory
| |
| Files |
A list (Collection) of files into the directory
| |
| IncludeArchiveFiles |
Gets or sets a value indicating whether [include archive files].
| |
| IncludeHiddenFiles |
Gets or sets a value indicating whether [include hidden files].
| |
| IncludeSystemFiles |
Gets or sets a value indicating whether [include system files].
| |
| IsWithSubDirs |
Gets a value indicating whether this instance is with sub directories.
| |
| NrOfFiles |
Number of files into the directory and all of its subdirectories
| |
| NrOfSubdirectories |
Number of subdirectories
| |
| Subdirectories |
Gets all subdirectories inside original one, without original one.
|