共用方式為


CompositeDirectoryContents.GetEnumerator Method

Definition

Creates an enumerator for all files in all providers given. Ensures each item in the collection is distinct.

public:
 virtual System::Collections::Generic::IEnumerator<Microsoft::Extensions::FileProviders::IFileInfo ^> ^ GetEnumerator();
public System.Collections.Generic.IEnumerator<Microsoft.Extensions.FileProviders.IFileInfo> GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<Microsoft.Extensions.FileProviders.IFileInfo>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<Microsoft.Extensions.FileProviders.IFileInfo>
Public Function GetEnumerator () As IEnumerator(Of IFileInfo)

Returns

An enumerator over all files in all given providers.

Implements

Applies to