CSharpTest.Net
Add Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Utils Namespace > FileList Class : Add Method

Glossary Item Box

Adds a set of items to the collection, see Add(string) for details.

Overload List

OverloadDescription
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>)

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys