IDifferenceCollection(T) Interface

Represents a collection of Difference objects.

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

JScript does not support generic types or methods.

Type Parameters

T

The element type of the compared lists.

The IDifferenceCollection(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(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:
© 2015 Microsoft