Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDifferenceCollection(Of T) Interface

Represents a collection of Difference objects.

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

'Declaration
Public Interface IDifferenceCollection(Of T) _
	Inherits IEnumerable(Of Difference), IEnumerable

Type Parameters

T

The element type of the compared lists.

The IDifferenceCollection(Of T) type exposes the following members.

  NameDescription
Public propertyDifferencesReturns the difference collection as a list.
Public propertyLeftSequenceGets the left sequence that was used to create this difference collection.
Public propertyMatchSequenceGets the original match sequence that was used to create this difference collection.
Public propertyRightSequenceGets the right sequence that was used to create this difference collection.
Top

  NameDescription
Public methodGetEnumeratorReturns an enumerator that iterates through the collection. (Inherited from IEnumerable(Of Difference).)
Top

This collection is extracted from two lists of elements of the same type, given a maximal match sequence generated from a difference algorithm.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft