Overload | Description |
---|---|
Add(String[]) | Adds a set of items to the collection, see Add(string) for details. |
Add(String) | Adds the specified file to the collection. If the item specified is a directory that directory will be crawled for files, and optionally (RecurseFolders) child directories. If the name part of the path contains wild-cards they will be considered throughout the folder tree, i.e: C:\Temp\*.tmp will yeild all files having an extension of .tmp. Again if RecurseFolders is true you will get all .tmp files anywhere in the C:\Temp folder. |
Add(FileInfo) | Adds an object to the end of the Collection. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>) |
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7