แก้ไข

แชร์ผ่าน


VirtualDirectory.Files Property

Definition

Gets a list of all files contained in this directory.

public:
 abstract property System::Collections::IEnumerable ^ Files { System::Collections::IEnumerable ^ get(); };
public abstract System.Collections.IEnumerable Files { get; }
member this.Files : System.Collections.IEnumerable
Public MustOverride ReadOnly Property Files As IEnumerable

Property Value

An object implementing the IEnumerable interface containing VirtualFile objects.

Remarks

The Files property contains VirtualFile objects that represent the files contained in this virtual directory. To return the VirtualDirectory objects, use the Directories 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.

Applies to

See also