IHierarchicalDifferenceCollection Interface

 

Represents a difference collection in which the left and right sequences are ITokenizedStringList objects, and each difference may itself contain an IHierarchicalDifferenceCollection.

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

public interface IHierarchicalDifferenceCollection : IDifferenceCollection<string>, 
	IEnumerable<Difference>, IEnumerable

NameDescription
System_CAPS_pubpropertyDifferences

Returns the difference collection as a list.(Inherited from IDifferenceCollection<T>.)

System_CAPS_pubpropertyLeftDecomposition

Gets the original left tokenized list.

System_CAPS_pubpropertyLeftSequence

Gets the left sequence that was used to create this difference collection.(Inherited from IDifferenceCollection<T>.)

System_CAPS_pubpropertyMatchSequence

Gets the original match sequence that was used to create this difference collection.(Inherited from IDifferenceCollection<T>.)

System_CAPS_pubpropertyRightDecomposition

Get the original right tokenized list.

System_CAPS_pubpropertyRightSequence

Gets the right sequence that was used to create this difference collection.(Inherited from IDifferenceCollection<T>.)

NameDescription
System_CAPS_pubmethodGetContainedDifferences(Int32)

Gets the contained difference collection for the given element, if it has any.

System_CAPS_pubmethodGetEnumerator()

(Inherited from IEnumerable<T>.)

System_CAPS_pubmethodHasContainedDifferences(Int32)

Determines whether the Difference at the given index itself contains differences.

You can get this collection by using the IHierarchicalStringDifferenceService.

hen you request multiple types of string differencing (e.g. line and word), the first level of differences will be the lines, and each line difference may contain an IHierarchicalDifferenceCollection of word differences. See IHierarchicalStringDifferenceService for more information and examples.

Return to top
Show: