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.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈