======Метод DirectoryInfo.EnumerateDirectories()====== Возвращает перечисляемую коллекцию сведений о каталогах в текущем каталоге. * **Пространство имен:** [[developers:references:system.io|System.IO]] * **Сборка:** mscorlib (в mscorlib.dll) =====Синтаксис===== public IEnumerable EnumerateDirectories() **Возвращаемое значение** * Тип: [[developers:references:system.collections.generic.ienumerable_1|System.Collections.Generic.IEnumerable]]<[[developers:references:system.io.directoryinfo|System.IO.DirectoryInfo]]> * Перечисляемая коллекция каталогов в текущем каталоге.