IProjectFileEnumeratorFactory.GetEnumerator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.