TextDocument.GetTextVersionAsync(CancellationToken) Method

Definition

Gets the version of the document's text.

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)

Parameters

cancellationToken
CancellationToken

Returns

Applies to