Partager via


IDifferenceCollection<T>.Differences Property

Returns the difference collection as a list.

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

Syntax

'Declaration
ReadOnly Property Differences As IList(Of Difference)
IList<Difference> Differences { get; }
property IList<Difference^>^ Differences {
    IList<Difference^>^ get ();
}
abstract Differences : IList<Difference> with get
function get Differences () : IList<Difference>

Property Value

Type: IList<Difference>
The list of differences.

Remarks

Since the difference collection itself implements the IEnumerable interface, you can use it to iterate over the differences.

.NET Framework Security

See Also

Reference

IDifferenceCollection<T> Interface

Microsoft.VisualStudio.Text.Differencing Namespace