Home Cooker Classes Others Rice CookerGX
Classes  >  directory  >  GetFiles()
directory class : GetFiles() method

Description

Gets the list of direct child files.

Syntax

directoryInstance.GetFiles()

Arguments

None

Return value

ClassDescription
list{file}The list of direct child files.

Sample code

//anyDirectory is a instance of directory type.

list{file} files = anyDirectory.GetFiles();

Notes

It's a wrapper of the System.IO.DirectoryInfo.GetFiles().

Please note that do not work recursively. This method return the list of direct child files.

Links for reference

Copyright © Rice All rights reserved.