Udostępnij za pośrednictwem


IChangeSource.GetChangedSpans(NormalizedSnapshotSpanCollection) Method

Definition

Gets all changes that intersect the spans.

public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Text.Document.ChangedSnapshotSpan>? GetChangedSpans (Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection spans);
abstract member GetChangedSpans : Microsoft.VisualStudio.Text.NormalizedSnapshotSpanCollection -> seq<Microsoft.VisualStudio.Text.Document.ChangedSnapshotSpan>
Public Function GetChangedSpans (spans As NormalizedSnapshotSpanCollection) As IEnumerable(Of ChangedSnapshotSpan)

Parameters

spans
NormalizedSnapshotSpanCollection

The spans to provide change data for.

Returns

Remarks

Change data doesn't need to be in any particular order.

Applies to