Xceed .NET Libraries Documentation
DoGetFiles Method


Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > AbstractFolder Class : DoGetFiles Method
A reference to a FileSystemEventsSession object which is responsible for raising all events that occur during the process.
true if items in subfolders should be processed; false otherwise.
An array of objects that can be used to filter the list of FileSystemItem objects to process.
Retrieves an array of AbstractFile objects.
Syntax
'Declaration
 
Protected Overridable Function DoGetFiles( _
   ByVal session As FileSystemEventsSession, _
   ByVal recursive As Boolean, _
   ByVal filters() As Filter _
) As AbstractFile()
'Usage
 
Dim instance As AbstractFolder
Dim session As FileSystemEventsSession
Dim recursive As Boolean
Dim filters() As Filter
Dim value() As AbstractFile
 
value = instance.DoGetFiles(session, recursive, filters)
protected virtual AbstractFile[] DoGetFiles( 
   FileSystemEventsSession session,
   bool recursive,
   Filter[] filters
)

Parameters

session
A reference to a FileSystemEventsSession object which is responsible for raising all events that occur during the process.
recursive
true if items in subfolders should be processed; false otherwise.
filters
An array of objects that can be used to filter the list of FileSystemItem objects to process.

Return Value

An array of AbstractFile objects representing the files contained within the folder.
Requirements

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

See Also

Reference

AbstractFolder Class
AbstractFolder Members