ISolutionFileEnumeratorFactory.GetQueue(Boolean, Boolean, Boolean, PathFilter, CancellationToken) Method

Definition

Get all files in the solution or opened folder.

public Microsoft.VisualStudio.Threading.AsyncQueue<Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.FileEntity> GetQueue (bool includeMiscellaneousProject, bool includeHiddenItems, bool includeExternalItems, Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.PathFilter filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetQueue : bool * bool * bool * Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.PathFilter * System.Threading.CancellationToken -> Microsoft.VisualStudio.Threading.AsyncQueue<Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.FileEntity>
Public Function GetQueue (includeMiscellaneousProject As Boolean, includeHiddenItems As Boolean, includeExternalItems As Boolean, Optional filter As PathFilter = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncQueue(Of FileEntity)

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.

cancellationToken
CancellationToken

(optional) Cancellation token to cancel the task.

Returns

AsyncQueue<FileEntity>

Returns a thread-safe queue of file entries that will be asynchronously loaded and completed.

Applies to