Compartilhar via


DocumentsExtensibility.GetOpenDocumentsAsync(CancellationToken) Method

Definition

Returns a collection of the documents that are currently open.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.RpcContracts.Documents.DocumentSnapshot>> GetOpenDocumentsAsync (System.Threading.CancellationToken token);
member this.GetOpenDocumentsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.RpcContracts.Documents.DocumentSnapshot>>
Public Function GetOpenDocumentsAsync (token As CancellationToken) As Task(Of IReadOnlyList(Of DocumentSnapshot))

Parameters

token
CancellationToken

The cancellation token.

Returns

A collection of open documents.

Applies to