Поделиться через


ITextDifferencingService.DiffSnapshotSpans - метод (SnapshotSpan, SnapshotSpan, StringDifferenceOptions, Func<ITextSnapshotLine, String>)

Пространство имен:  Microsoft.VisualStudio.Text.Differencing
Сборка:  Microsoft.VisualStudio.Text.Data (в Microsoft.VisualStudio.Text.Data.dll)

Синтаксис

'Декларация
Function DiffSnapshotSpans ( _
    left As SnapshotSpan, _
    right As SnapshotSpan, _
    differenceOptions As StringDifferenceOptions, _
    getLineTextCallback As Func(Of ITextSnapshotLine, String) _
) As IHierarchicalDifferenceCollection
IHierarchicalDifferenceCollection DiffSnapshotSpans(
    SnapshotSpan left,
    SnapshotSpan right,
    StringDifferenceOptions differenceOptions,
    Func<ITextSnapshotLine, string> getLineTextCallback
)
IHierarchicalDifferenceCollection^ DiffSnapshotSpans(
    SnapshotSpan left, 
    SnapshotSpan right, 
    StringDifferenceOptions differenceOptions, 
    Func<ITextSnapshotLine^, String^>^ getLineTextCallback
)
abstract DiffSnapshotSpans : 
        left:SnapshotSpan * 
        right:SnapshotSpan * 
        differenceOptions:StringDifferenceOptions * 
        getLineTextCallback:Func<ITextSnapshotLine, string> -> IHierarchicalDifferenceCollection
function DiffSnapshotSpans(
    left : SnapshotSpan, 
    right : SnapshotSpan, 
    differenceOptions : StringDifferenceOptions, 
    getLineTextCallback : Func<ITextSnapshotLine, String>
) : IHierarchicalDifferenceCollection

Параметры

Возвращаемое значение

Тип: Microsoft.VisualStudio.Text.Differencing.IHierarchicalDifferenceCollection

Безопасность платформы .NET Framework

См. также

Ссылки

ITextDifferencingService Интерфейс

DiffSnapshotSpans - перегрузка

Microsoft.VisualStudio.Text.Differencing - пространство имен