IOpenDocumentEnumeratorFactory.GetListAsync Yöntem

Tanım

Tüm açık belgeleri al.

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))

Parametreler

filter
PathFilter

seçim Uygulanacak ek filtre.

cancellationToken
CancellationToken

seçim Görevi iptal etmek için iptal belirteci.

Döndürülenler

Task<IReadOnlyList<FileEntity>>

Zaman uyumsuz işlemi temsil eden bir görev.

Açıklamalar

Geçerli belge varsa ve uygunsa, her zaman ilk olarak olur.

Şunlara uygulanır