ITextDifferencingService.DiffSnapshotSpans-Methode (SnapshotSpan, SnapshotSpan, StringDifferenceOptions, Func<ITextSnapshotLine, String>)
Namespace: Microsoft.VisualStudio.Text.Differencing
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
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
Parameter
- left
Typ: Microsoft.VisualStudio.Text.SnapshotSpan
- right
Typ: Microsoft.VisualStudio.Text.SnapshotSpan
- differenceOptions
Typ: Microsoft.VisualStudio.Text.Differencing.StringDifferenceOptions
- getLineTextCallback
Typ: Func<ITextSnapshotLine, String>
Rückgabewert
Typ: Microsoft.VisualStudio.Text.Differencing.IHierarchicalDifferenceCollection
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.