Compartilhar via


ISnapshotDifference.DifferenceSpans Property

Gets or sets the word and line difference spans as ITrackingSpan objects against the left and right buffer.

Namespace:  Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'Declaration
ReadOnly Property DifferenceSpans As IDifferenceTrackingSpanCollection
IDifferenceTrackingSpanCollection DifferenceSpans { get; }
property IDifferenceTrackingSpanCollection^ DifferenceSpans {
    IDifferenceTrackingSpanCollection^ get ();
}
abstract DifferenceSpans : IDifferenceTrackingSpanCollection with get
function get DifferenceSpans () : IDifferenceTrackingSpanCollection

Property Value

Type: Microsoft.VisualStudio.Text.Differencing.IDifferenceTrackingSpanCollection
The word and line difference spans as ITrackingSpan objects against the left and right buffer.

.NET Framework Security

See Also

Reference

ISnapshotDifference Interface

Microsoft.VisualStudio.Text.Differencing Namespace