TextDocument.GetTextVersionAsync(CancellationToken) 方法

定义

获取文档文本的版本。

public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.VersionStamp> GetTextVersionAsync (System.Threading.CancellationToken cancellationToken = default);
member this.GetTextVersionAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.VersionStamp>
Public Function GetTextVersionAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of VersionStamp)

参数

cancellationToken
CancellationToken

返回

适用于