Share via


IDifferenceService.DifferenceSequences<T> Method (IList<T>, IList<T>)

Calculates the differences between the two sequences.

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

Syntax

'Declaration
Function DifferenceSequences(Of T) ( _
    left As IList(Of T), _
    right As IList(Of T) _
) As IDifferenceCollection(Of T)
IDifferenceCollection<T> DifferenceSequences<T>(
    IList<T> left,
    IList<T> right
)
generic<typename T>
IDifferenceCollection<T>^ DifferenceSequences(
    IList<T>^ left, 
    IList<T>^ right
)
abstract DifferenceSequences : 
        left:IList<'T> * 
        right:IList<'T> -> IDifferenceCollection<'T> 
JScript does not support generic types or methods.

Type Parameters

  • T
    The type of the sequences.

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Differencing.IDifferenceCollection<T>
A collection of the differences between the two sequences.

.NET Framework Security

See Also

Reference

IDifferenceService Interface

DifferenceSequences Overload

Microsoft.VisualStudio.Text.Differencing Namespace