DirectoryInfoBase.EnumerateFileSystemInfos 方法

定义

枚举该目录中的所有文件和目录。

public:
 abstract System::Collections::Generic::IEnumerable<Microsoft::Extensions::FileSystemGlobbing::Abstractions::FileSystemInfoBase ^> ^ EnumerateFileSystemInfos();
public abstract System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileSystemInfoBase> EnumerateFileSystemInfos ();
abstract member EnumerateFileSystemInfos : unit -> seq<Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileSystemInfoBase>
Public MustOverride Function EnumerateFileSystemInfos () As IEnumerable(Of FileSystemInfoBase)

返回

文件和目录的集合。

适用于