Returns a filtered list of folders contained in the folder, and raises events during the process.
Parameters
- events
- A FileSystemEvents object that will be used to raise events. Cannot be a null reference (Nothing in Visual Basic).
- userData
- Opaque data that will be passed back to the event handler when an event is raised.
- recursive
- true if folders contained in the subfolders should be returned; false if only folders that are immediate children of the folder should be returned.
- filters
- An array of objects that can be used to filter the list of folders returned.
Return Value
An array of
AbstractFolder objects representing the folders that match the specified .
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2