IOpenDocumentEnumeratorFactory.GetListAsync 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 all open documents.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.FileEntity>> GetListAsync (Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.PathFilter filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetListAsync : Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.PathFilter * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.FileEntity>>
Public Function GetListAsync (Optional filter As PathFilter = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IReadOnlyList(Of FileEntity))
Parameters
- filter
- PathFilter
(optional) Additional filter to apply.
- cancellationToken
- CancellationToken
(optional) Cancellation token to cancel the task.
Returns
A task that represents the asynchronous operation.
Remarks
The current document, if there is one and it is eligible, will always be first.