ITextDifferencingService.DiffSnapshotSpans Method (SnapshotSpan, SnapshotSpan, StringDifferenceOptions, Func)
Namespace: Microsoft.VisualStudio.Text.Differencing
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Déclaration
Function DiffSnapshotSpans ( _
left As SnapshotSpan, _
right As SnapshotSpan, _
differenceOptions As StringDifferenceOptions, _
getLineTextCallback As Func _
) As IHierarchicalDifferenceCollection
IHierarchicalDifferenceCollection DiffSnapshotSpans(
SnapshotSpan left,
SnapshotSpan right,
StringDifferenceOptions differenceOptions,
Func getLineTextCallback
)
IHierarchicalDifferenceCollection^ DiffSnapshotSpans(
SnapshotSpan left,
SnapshotSpan right,
StringDifferenceOptions differenceOptions,
Func^ getLineTextCallback
)
abstract DiffSnapshotSpans :
left:SnapshotSpan *
right:SnapshotSpan *
differenceOptions:StringDifferenceOptions *
getLineTextCallback:Func -> IHierarchicalDifferenceCollection
function DiffSnapshotSpans(
left : SnapshotSpan,
right : SnapshotSpan,
differenceOptions : StringDifferenceOptions,
getLineTextCallback : Func
) : IHierarchicalDifferenceCollection
Parameters
- left
Type: Microsoft.VisualStudio.Text.SnapshotSpan
- right
Type: Microsoft.VisualStudio.Text.SnapshotSpan
- differenceOptions
Type: Microsoft.VisualStudio.Text.Differencing.StringDifferenceOptions
- getLineTextCallback
Type: System.Func<T, TResult>
Return Value
Type: Microsoft.VisualStudio.Text.Differencing.IHierarchicalDifferenceCollection
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.