Compartir a través de


TextDocument.GetTextAsync(CancellationToken) Método

Definición

Obtiene el texto actual del documento de forma asincrónica.

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

Devoluciones

Se aplica a