DirectoryInfo Class
Namespace: System.IO · Assembly: GHIElectronics.TinyCLR.IO
No description available.
public sealed class DirectoryInfo : FileSystemInfo
Constructors
DirectoryInfo(string path)
public DirectoryInfo(string path)
No description available.
| Parameter | Type | Description |
|---|---|---|
path | string |
Properties
Name
public override string Name { get; }
The native API name. (inherited)
Parent
public DirectoryInfo Parent { get; }
No description available.
Exists
public override bool Exists { get; }
No description available.
Root
public DirectoryInfo Root { get; }
No description available.
Methods
CreateSubdirectory(string path)
public DirectoryInfo CreateSubdirectory(string path)
No description available.
| Parameter | Type | Description |
|---|---|---|
path | string |
Returns DirectoryInfo
Create()
public void Create()
No description available.
GetFiles()
public FileInfo[] GetFiles()
Returns the names of the files in the file system. (inherited)
Returns FileInfo[] — An array of the names of the files.
GetDirectories()
public DirectoryInfo[] GetDirectories()
No description available.
Returns DirectoryInfo[]
MoveTo(string destDirName)
public void MoveTo(string destDirName)
No description available.
| Parameter | Type | Description |
|---|---|---|
destDirName | string |
Delete()
public override void Delete()
No description available.
Delete(bool recursive)
public void Delete(bool recursive)
Deletes a file from the device. (inherited)
| Parameter | Type | Description |
|---|---|---|
recursive | bool |
ToString()
public override string ToString()
String representation (inherited)
Returns string