SourceText.GetChangeRanges(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 TextChangeRange that describe how the text changed between this text 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::TextChangeRange> ^ GetChangeRanges(Microsoft::CodeAnalysis::Text::SourceText ^ oldText);
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.CodeAnalysis.Text.TextChangeRange> GetChangeRanges (Microsoft.CodeAnalysis.Text.SourceText oldText);
abstract member GetChangeRanges : Microsoft.CodeAnalysis.Text.SourceText -> System.Collections.Generic.IReadOnlyList<Microsoft.CodeAnalysis.Text.TextChangeRange>
override this.GetChangeRanges : Microsoft.CodeAnalysis.Text.SourceText -> System.Collections.Generic.IReadOnlyList<Microsoft.CodeAnalysis.Text.TextChangeRange>
Public Overridable Function GetChangeRanges (oldText As SourceText) As IReadOnlyList(Of TextChangeRange)
Parameters
- oldText
- SourceText
Returns
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.