共用方式為


ITemporaryTextStorage.WriteText(SourceText, CancellationToken) Method

Definition

public void WriteText (Microsoft.CodeAnalysis.Text.SourceText text, System.Threading.CancellationToken cancellationToken = default);
abstract member WriteText : Microsoft.CodeAnalysis.Text.SourceText * System.Threading.CancellationToken -> unit
Public Sub WriteText (text As SourceText, Optional cancellationToken As CancellationToken = Nothing)

Parameters

text
SourceText
cancellationToken
CancellationToken

Applies to