Xceed .NET Libraries Documentation
GetItems(Boolean) Method


Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > AbstractFolder Class > GetItems Method : GetItems(Boolean) Method
true if items contained in the subfolders should be returned; false if only items that are immediate children of the folder should be returned.
Returns a list of items contained in the folder.
Syntax
'Declaration
 
Public Overloads Function GetItems( _

   ByVal recursive As Boolean _

) As FileSystemItem()
'Usage
 
Dim instance As AbstractFolder

Dim recursive As Boolean

Dim value() As FileSystemItem

 

value = instance.GetItems(recursive)
public FileSystemItem[] GetItems( 

   bool recursive

)

Parameters

recursive
true if items contained in the subfolders should be returned; false if only items that are immediate children of the folder should be returned.

Return Value

An array of FileSystemItem objects representing the items contained in 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
Overload List