FindLineDifferences Method (, Boolean)
Find differences around the given point, optionally including "empty" differences.
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, _
includeEmptyDifferences As Boolean _
) As DifferenceSearchResult
'Usage
Dim instance As IDifferenceBuffer
Dim point As SnapshotPoint
Dim includeEmptyDifferences As Boolean
Dim returnValue As DifferenceSearchResult
returnValue = instance.FindLineDifferences(point, _
includeEmptyDifferences)
DifferenceSearchResult FindLineDifferences(
SnapshotPoint point,
bool includeEmptyDifferences
)
DifferenceSearchResult^ FindLineDifferences(
SnapshotPoint point,
bool includeEmptyDifferences
)
abstract FindLineDifferences :
point:SnapshotPoint *
includeEmptyDifferences:bool -> DifferenceSearchResult
function FindLineDifferences(
point : SnapshotPoint,
includeEmptyDifferences : boolean
) : DifferenceSearchResult
Parameters
- point
Type: SnapshotPoint
The point to use, from any of the buffers related to the difference buffer.
- includeEmptyDifferences
Type: System..::..Boolean
If true, include empty differences at the given point.
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.