MapToDifferenceBuffer Method ()

Given a line match, 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 ( _
    lineMatch As Match _
) As SnapshotSpan
'Usage
Dim instance As IDifferenceBuffer
Dim lineMatch As Match
Dim returnValue As SnapshotSpan

returnValue = instance.MapToDifferenceBuffer(lineMatch)
SnapshotSpan MapToDifferenceBuffer(
    Match lineMatch
)
SnapshotSpan MapToDifferenceBuffer(
    Match^ lineMatch
)
abstract MapToDifferenceBuffer : 
        lineMatch:Match -> SnapshotSpan 
function MapToDifferenceBuffer(
    lineMatch : Match
) : SnapshotSpan

Parameters

  • lineMatch
    Type: Match
    The line match to locate.

Return Value

Type: SnapshotSpan
The span for the given line match

See Also

Reference

IDifferenceBuffer Interface

MapToDifferenceBuffer Overload

Microsoft.VisualStudio.Data.Tools.Delta Namespace