Partager via


IHierarchicalDifferenceCollection.GetContainedDifferences Method

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

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

Syntax

'Declaration
Function GetContainedDifferences ( _
    index As Integer _
) As IHierarchicalDifferenceCollection
IHierarchicalDifferenceCollection GetContainedDifferences(
    int index
)
IHierarchicalDifferenceCollection^ GetContainedDifferences(
    int index
)
abstract GetContainedDifferences : 
        index:int -> IHierarchicalDifferenceCollection
function GetContainedDifferences(
    index : int
) : IHierarchicalDifferenceCollection

Parameters

  • index
    Type: Int32

    The index at which to compute the contained differences.

Return Value

Type: Microsoft.VisualStudio.Text.Differencing.IHierarchicalDifferenceCollection
true if the Difference in question has contained differences, otherwise false.

.NET Framework Security

See Also

Reference

IHierarchicalDifferenceCollection Interface

Microsoft.VisualStudio.Text.Differencing Namespace