共用方式為


ITemporaryTextStorage.WriteTextAsync(SourceText, CancellationToken) Method

Definition

public System.Threading.Tasks.Task WriteTextAsync (Microsoft.CodeAnalysis.Text.SourceText text, System.Threading.CancellationToken cancellationToken = default);
abstract member WriteTextAsync : Microsoft.CodeAnalysis.Text.SourceText * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function WriteTextAsync (text As SourceText, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

text
SourceText
cancellationToken
CancellationToken

Returns

Applies to