IOpenDocumentEnumeratorFactory.GetEnumerator(PathFilter) 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 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.