Xceed .NET Libraries Documentation
Xceed.FileSystem Assembly / Xceed.FileSystem Namespace / AbstractFolder Class / DoGetItems 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.


In This Topic
    DoGetItems Method
    In This Topic
    Retrieves an array of FileSystemItem objects.
    Syntax
    'Declaration
     
    Protected Overridable Function DoGetItems( _
       ByVal session As FileSystemEventsSession, _
       ByVal recursive As Boolean _
    ) As FileSystemItem()
    'Usage
     
    Dim instance As AbstractFolder
    Dim session As FileSystemEventsSession
    Dim recursive As Boolean
    Dim value() As FileSystemItem
     
    value = instance.DoGetItems(session, recursive)
    protected virtual FileSystemItem[] DoGetItems( 
       FileSystemEventsSession session,
       bool recursive
    )

    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.

    Return Value

    An array of FileSystemItem objects representing the files and folders 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