Freigeben über


SourceText.GetTextChanges(SourceText) Method

Definition

Gets the set of TextChange that describe how the text changed between this text and an older version. This may be multiple detailed changes or a single change encompassing the entire text.

public:
 virtual System::Collections::Generic::IReadOnlyList<Microsoft::CodeAnalysis::Text::TextChange> ^ GetTextChanges(Microsoft::CodeAnalysis::Text::SourceText ^ oldText);
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.CodeAnalysis.Text.TextChange> GetTextChanges (Microsoft.CodeAnalysis.Text.SourceText oldText);
abstract member GetTextChanges : Microsoft.CodeAnalysis.Text.SourceText -> System.Collections.Generic.IReadOnlyList<Microsoft.CodeAnalysis.Text.TextChange>
override this.GetTextChanges : Microsoft.CodeAnalysis.Text.SourceText -> System.Collections.Generic.IReadOnlyList<Microsoft.CodeAnalysis.Text.TextChange>
Public Overridable Function GetTextChanges (oldText As SourceText) As IReadOnlyList(Of TextChange)

Parameters

oldText
SourceText

Returns

Applies to