ComputeApproximateSourceLinesForPoint Method
Get the approximate line numbers in the left and right buffers for the given point in the top buffer.
Namespace: Microsoft.VisualStudio.Data.Tools.Delta
Assembly: Microsoft.VisualStudio.Data.Tools.Delta (in Microsoft.VisualStudio.Data.Tools.Delta.dll)
Syntax
'Declaration
Sub ComputeApproximateSourceLinesForPoint ( _
topPoint As SnapshotPoint, _
<OutAttribute> ByRef leftLineNumber As Integer, _
<OutAttribute> ByRef rightLineNumber As Integer _
)
'Usage
Dim instance As IDifferenceBuffer
Dim topPoint As SnapshotPoint
Dim leftLineNumber As Integer
Dim rightLineNumber As Integer
instance.ComputeApproximateSourceLinesForPoint(topPoint, _
leftLineNumber, rightLineNumber)
void ComputeApproximateSourceLinesForPoint(
SnapshotPoint topPoint,
out int leftLineNumber,
out int rightLineNumber
)
void ComputeApproximateSourceLinesForPoint(
SnapshotPoint topPoint,
[OutAttribute] int% leftLineNumber,
[OutAttribute] int% rightLineNumber
)
abstract ComputeApproximateSourceLinesForPoint :
topPoint:SnapshotPoint *
leftLineNumber:int byref *
rightLineNumber:int byref -> unit
function ComputeApproximateSourceLinesForPoint(
topPoint : SnapshotPoint,
leftLineNumber : int,
rightLineNumber : int
)
Parameters
- topPoint
Type: SnapshotPoint
A point in the top-level buffer.
- leftLineNumber
Type: System..::..Int32%
The approximate line number in the left buffer.
- rightLineNumber
Type: System..::..Int32%
The approximate line number in the right buffer.