Share via


IOpenDocumentEnumeratorFactory.GetEnumerator(PathFilter) Method

Definition

Get an enumerator for all open documents.

public Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.IFileEntityAsyncEnumerator GetEnumerator (Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.PathFilter filter = default);
abstract member GetEnumerator : Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.PathFilter -> Microsoft.VisualStudio.Shell.Internal.FileEnumerationService.IFileEntityAsyncEnumerator
Public Function GetEnumerator (Optional filter As PathFilter = Nothing) As IFileEntityAsyncEnumerator

Parameters

filter
PathFilter

(optional) Additional filter to apply.

Returns

Returns an enumerator to get the next discovered file asynchronously.

Remarks

The current document, if there is one and it is eligible, will always be first.

Applies to