共用方式為


ITemporaryTextStorage.ReadText(CancellationToken) 方法

定義

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

參數

cancellationToken
CancellationToken

傳回

適用於