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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET