SourceText.GetTextChanges(SourceText) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.