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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.