Partilhar via


AdditionalText.GetText(CancellationToken) Método

Definição

Retorna um SourceText com o conteúdo desse arquivo ou null se houve erros ao ler o arquivo.

public abstract Microsoft.CodeAnalysis.Text.SourceText GetText (System.Threading.CancellationToken cancellationToken = default);
public abstract Microsoft.CodeAnalysis.Text.SourceText? GetText (System.Threading.CancellationToken cancellationToken = default);
abstract member GetText : System.Threading.CancellationToken -> Microsoft.CodeAnalysis.Text.SourceText
Public MustOverride Function GetText (Optional cancellationToken As CancellationToken = Nothing) As SourceText

Parâmetros

cancellationToken
CancellationToken

Retornos

Aplica-se a