System.Web.Hosting.VirtualDirectory.Children Property

Gets a list of the files and subdirectories contained in this virtual directory.

Syntax

public abstract IEnumerable Children { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The VirtualDirectory.Children property contains both System.Web.Hosting.VirtualFile and System.Web.Hosting.VirtualDirectory objects that represent the files and directories contained in this virtual directory. To return only the System.Web.Hosting.VirtualFile objects, use the VirtualDirectory.Files property. To return only the System.Web.Hosting.VirtualDirectory objects, use the VirtualDirectory.Directories property.

Requirements

Namespace: System.Web.Hosting
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0