共用方式為


DirectoryInfoWrapper.EnumerateFileSystemInfos 方法

定義

列舉目錄中的所有檔案和目錄。

public:
 override System::Collections::Generic::IEnumerable<Microsoft::Extensions::FileSystemGlobbing::Abstractions::FileSystemInfoBase ^> ^ EnumerateFileSystemInfos();
public override System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileSystemInfoBase> EnumerateFileSystemInfos ();
override this.EnumerateFileSystemInfos : unit -> seq<Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileSystemInfoBase>
Public Iterator Overrides Function EnumerateFileSystemInfos () As IEnumerable(Of FileSystemInfoBase)

傳回

檔案和目錄的集合。

適用於