FileFolderInfoCreate Method
Factory method to create an IFolderInfo object from a DirectoryInfo object.
Namespace: Configuration.HelperAssembly: Configuration.Helper (in Configuration.Helper.dll) Version: 2.0.5
public static IFolderInfo Create(
DirectoryInfo dirInfo,
bool includeFolders = false,
params string[] filter
)
- dirInfo DirectoryInfo
- Root folder as a DirectoryInfo object.
- includeFolders Boolean (Optional)
- Include sub-folder contents. The default is .
- filter String
- A string array that contains zero or more file name patterns.
IFolderInfoA FileFolderInfo object.