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 네임스페이스