共用方式為


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

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

Property Value

Type: System.Collections.Generic.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