VirtualDirectory.Directories Property
.NET Framework (current version)
Gets a list of all the subdirectories contained in this directory.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System.Collections.IEnumerableAn object implementing the IEnumerable interface containing VirtualDirectory objects.
The Directories property contains VirtualDirectory objects that represent the directories contained in this virtual directory. To return the VirtualFile objects, use the Files property. To return both VirtualFile and VirtualDirectory objects, use the Children property.
Notes to Inheritors:
If your virtual-directory structure contains moderate to large numbers of virtual resources, you should take care to minimize the system resources consumed by enumerating the virtual directory.
.NET Framework
Available since 2.0
Available since 2.0
Show: