TheISMManager..::..ProcessDirectory Method (DirectoryInfo, List<(Of <(<'TheFileInfo>)>)>%, String, String, Boolean, Boolean)
Processes a directory recursive for a given file extension
Namespace:
nsCDEngine.ISMAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public static void ProcessDirectory( DirectoryInfo di, ref List<TheFileInfo> tw, string relativeCurrentDir, string pExtension, bool IsUsb, bool DoProcessSubDirs )
Public Shared Sub ProcessDirectory ( _ di As DirectoryInfo, _ ByRef tw As List(Of TheFileInfo), _ relativeCurrentDir As String, _ pExtension As String, _ IsUsb As Boolean, _ DoProcessSubDirs As Boolean _ )
public: static void ProcessDirectory( DirectoryInfo^ di, List<TheFileInfo^>^% tw, String^ relativeCurrentDir, String^ pExtension, bool^ IsUsb, bool^ DoProcessSubDirs )
Parameters
- di
- Type: DirectoryInfo
The directory info to search
- tw
- Type: List<(Of <(<'TheFileInfo>)>)>%
A list of found results as TheFileInfo
- relativeCurrentDir
- Type: String
Relative directory to the DI
- pExtension
- Type: String
Extension to look for
- IsUsb
- Type: Boolean
Include USB drives
- DoProcessSubDirs
- Type: Boolean
Recursively look in all subdirectories, too