RushFileInfo
Represents a file item in the file list view
Fields
Name |
string |
Display name, default is empty |
Size |
long |
Default is 0 |
Date |
string |
Default is empty |
Dir |
bool |
Whether it is a directory, default is false |
Examples
FirstView.SwitchToLocal(); //Switch to local mode await FirstView.ChangeDir("~Documents"); //Change to the "Documents" directory foreach(RushFileInfo info in FirstView.FileList()) //Iterate all files in the current directory { Println(info.Name); //Output the file name to the Terminal Log.Status(info.Name); //Output the file name to the Log window } |
See Also
Created with the Personal Edition of HelpNDoc: Easily create EBooks