IHierarchicalDifferenceCollection IHierarchicalDifferenceCollection IHierarchicalDifferenceCollection IHierarchicalDifferenceCollection Interface

Definition

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

public interface class IHierarchicalDifferenceCollection : Microsoft::VisualStudio::Text::Differencing::IDifferenceCollection<System::String ^>, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Text::Differencing::Difference ^>
public interface IHierarchicalDifferenceCollection : Microsoft.VisualStudio.Text.Differencing.IDifferenceCollection<string>, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Text.Differencing.Difference>
type IHierarchicalDifferenceCollection = interface
    interface IDifferenceCollection<string>
    interface seq<Difference>
    interface IEnumerable
Public Interface IHierarchicalDifferenceCollection
Implements IDifferenceCollection(Of String), IEnumerable(Of Difference)
Implements

Remarks

You can get this collection by using the IHierarchicalStringDifferenceService. When 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.

Properties

LeftDecomposition LeftDecomposition LeftDecomposition LeftDecomposition

Gets the original left tokenized list.

RightDecomposition RightDecomposition RightDecomposition RightDecomposition

Get the original right tokenized list.

Methods

GetContainedDifferences(Int32) GetContainedDifferences(Int32) GetContainedDifferences(Int32) GetContainedDifferences(Int32)

Gets the contained difference collection for the given element, if it has any. This forces an evaluation of the contained differences.

HasContainedDifferences(Int32) HasContainedDifferences(Int32) HasContainedDifferences(Int32) HasContainedDifferences(Int32)

Determines whether or not the Difference at the given index itself contains differences. This forces an evaluation of the contained differences for the given element.

Applies to