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 命名空间