FindLineDifferences Method ()

Find differences around the given point.

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

Syntax

'Declaration
Function FindLineDifferences ( _
    point As SnapshotPoint _
) As DifferenceSearchResult
'Usage
Dim instance As IDifferenceBuffer
Dim point As SnapshotPoint
Dim returnValue As DifferenceSearchResult

returnValue = instance.FindLineDifferences(point)
DifferenceSearchResult FindLineDifferences(
    SnapshotPoint point
)
DifferenceSearchResult^ FindLineDifferences(
    SnapshotPoint point
)
abstract FindLineDifferences : 
        point:SnapshotPoint -> DifferenceSearchResult 
function FindLineDifferences(
    point : SnapshotPoint
) : DifferenceSearchResult

Parameters

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

Return Value

Type: Microsoft.VisualStudio.Data.Tools.Delta..::..DifferenceSearchResult
The previous, current, and next difference for the point.

Remarks

The Current difference will only be non-null if the point is contained in a difference. This method is only accurate to the line-level. As such, the method really operates on the start of the line that contains the given point.

See Also

Reference

IDifferenceBuffer Interface

FindLineDifferences Overload

Microsoft.VisualStudio.Data.Tools.Delta Namespace