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

Description

Gets the list of direct child subdirectories.

Syntax

directoryInstance.GetDirectories()

Arguments

None

Return value

ClassDescription
list{directory}The list of direct child subdirectories.

Sample code

//anyDirectory is a instance of directory type.

list{directory} subDirectories = anyDirectory.GetDirectories();

Notes

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

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

Links for reference

Copyright © Rice All rights reserved.