Partilhar via


TextDocument.GetTextAsync(CancellationToken) Método

Definição

Obtém o texto atual do documento de forma assíncrona.

public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Text.SourceText> GetTextAsync (System.Threading.CancellationToken cancellationToken = default);
member this.GetTextAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.Text.SourceText>
Public Function GetTextAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of SourceText)

Parâmetros

cancellationToken
CancellationToken

Retornos

Aplica-se a