VirtualDirectory.Files 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 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.