IHierarchicalDifferenceCollection Interface
Represents a difference collection in which the left and right sequences are ITokenizedStringList objects, and each difference may itself contain an IHierarchicalDifferenceCollection.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
| Name | Description | |
|---|---|---|
![]() | Differences | Returns the difference collection as a list.(Inherited from IDifferenceCollection<T>.) |
![]() | LeftDecomposition | Gets the original left tokenized list. |
![]() | LeftSequence | Gets the left sequence that was used to create this difference collection.(Inherited from IDifferenceCollection<T>.) |
![]() | MatchSequence | Gets the original match sequence that was used to create this difference collection.(Inherited from IDifferenceCollection<T>.) |
![]() | RightDecomposition | Get the original right tokenized list. |
![]() | RightSequence | Gets the right sequence that was used to create this difference collection.(Inherited from IDifferenceCollection<T>.) |
| Name | Description | |
|---|---|---|
![]() | GetContainedDifferences(Int32) | Gets the contained difference collection for the given element, if it has any. |
![]() | GetEnumerator() | (Inherited from IEnumerable<T>.) |
![]() | HasContainedDifferences(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.

