VirtualDirectory.Directories Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a list of all the subdirectories contained in this directory.
public:
abstract property System::Collections::IEnumerable ^ Directories { System::Collections::IEnumerable ^ get(); };
public abstract System.Collections.IEnumerable Directories { get; }
member this.Directories : System.Collections.IEnumerable
Public MustOverride ReadOnly Property Directories As IEnumerable
Property Value
An object implementing the IEnumerable interface containing VirtualDirectory objects.
Remarks
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 Implementers
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.