MapToDifferenceBuffer Method ()
Given a line difference, find the associated SnapshotSpan in the difference buffer.
Namespace: Microsoft.VisualStudio.Data.Tools.Delta
Assembly: Microsoft.VisualStudio.Data.Tools.Delta (in Microsoft.VisualStudio.Data.Tools.Delta.dll)
Syntax
'Declaration
Function MapToDifferenceBuffer ( _
lineDifference As Difference _
) As SnapshotSpan
'Usage
Dim instance As IDifferenceBuffer
Dim lineDifference As Difference
Dim returnValue As SnapshotSpan
returnValue = instance.MapToDifferenceBuffer(lineDifference)
SnapshotSpan MapToDifferenceBuffer(
Difference lineDifference
)
SnapshotSpan MapToDifferenceBuffer(
Difference^ lineDifference
)
abstract MapToDifferenceBuffer :
lineDifference:Difference -> SnapshotSpan
function MapToDifferenceBuffer(
lineDifference : Difference
) : SnapshotSpan
Parameters
- lineDifference
Type: Difference
The line difference to locate.
Return Value
Type: SnapshotSpan
The span for the given line difference