FindPreviousLineDifference Method ()

Given a point that maps to the difference buffer or either the left or right buffer, find the previous Difference or null if there is none to be found. If the given point is inside a line difference, finds the previous one.

Namespace:  Microsoft.VisualStudio.Data.Tools.Delta
Assembly:  Microsoft.VisualStudio.Data.Tools.Delta (in Microsoft.VisualStudio.Data.Tools.Delta.dll)

Syntax

'Declaration
Function FindPreviousLineDifference ( _
    point As SnapshotPoint _
) As Difference
'Usage
Dim instance As IDifferenceBuffer
Dim point As SnapshotPoint
Dim returnValue As Difference

returnValue = instance.FindPreviousLineDifference(point)
Difference FindPreviousLineDifference(
    SnapshotPoint point
)
Difference^ FindPreviousLineDifference(
    SnapshotPoint point
)
abstract FindPreviousLineDifference : 
        point:SnapshotPoint -> Difference 
function FindPreviousLineDifference(
    point : SnapshotPoint
) : Difference

Parameters

  • point
    Type: SnapshotPoint
    The point to use, from any of the buffers related to the difference buffer.

Return Value

Type: Difference
The next difference, if successful. If not, null.

See Also

Reference

IDifferenceBuffer Interface

FindPreviousLineDifference Overload

Microsoft.VisualStudio.Data.Tools.Delta Namespace