Partilhar via


ISolutionFileEnumeratorFactory.GetEnumerator Method

Definition

Get all files in the solution or opened folder.

public Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.IFileEntityAsyncEnumerator GetEnumerator (bool includeMiscellaneousProject, bool includeHiddenItems, bool includeExternalItems, Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.PathFilter filter = default);
abstract member GetEnumerator : bool * bool * bool * Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.PathFilter -> Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.IFileEntityAsyncEnumerator
Public Function GetEnumerator (includeMiscellaneousProject As Boolean, includeHiddenItems As Boolean, includeExternalItems As Boolean, Optional filter As PathFilter = Nothing) As IFileEntityAsyncEnumerator

Parameters

includeMiscellaneousProject
Boolean

Defines whether the miscellaneous project must be included.

includeHiddenItems
Boolean

Defines whether the hidden items must be included.

includeExternalItems
Boolean

Defines whether the external items must be included.

filter
PathFilter

(optional) Additional filter to apply.

Returns

Returns an enumerator to get the next discovered file asynchronously.

Applies to