Share via


ComputeApproximateTopLevelLineForPoint Method

Get the approximate line number in the top-level buffer for the given point in the left or right buffer.

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

Syntax

'Declaration
Sub ComputeApproximateTopLevelLineForPoint ( _
    point As SnapshotPoint, _
    <OutAttribute> ByRef topLevelLine As Integer _
)
'Usage
Dim instance As IDifferenceBuffer
Dim point As SnapshotPoint
Dim topLevelLine As Integer

instance.ComputeApproximateTopLevelLineForPoint(point, _
    topLevelLine)
void ComputeApproximateTopLevelLineForPoint(
    SnapshotPoint point,
    out int topLevelLine
)
void ComputeApproximateTopLevelLineForPoint(
    SnapshotPoint point, 
    [OutAttribute] int% topLevelLine
)
abstract ComputeApproximateTopLevelLineForPoint : 
        point:SnapshotPoint * 
        topLevelLine:int byref -> unit 
function ComputeApproximateTopLevelLineForPoint(
    point : SnapshotPoint, 
    topLevelLine : int
)

Parameters

  • point
    Type: SnapshotPoint
    A point in the left or right buffer.
  • topLevelLine
    Type: System..::..Int32%
    The approximate line number in the top-level buffer.

See Also

Reference

IDifferenceBuffer Interface

Microsoft.VisualStudio.Data.Tools.Delta Namespace