次の方法で共有


IProjectFileEnumeratorFactory.GetEnumerator Method

Definition

Get an enumerator for all files a specified project.

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

Parameters

projectId
Guid

The unique ID of the project.

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