GetLineType Method

Given a point that maps to the difference buffer or either the left or right buffer, find the type of its containing line.

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

Syntax

'Declaration
Function GetLineType ( _
    point As SnapshotPoint _
) As LineType
'Usage
Dim instance As IDifferenceBuffer
Dim point As SnapshotPoint
Dim returnValue As LineType

returnValue = instance.GetLineType(point)
LineType GetLineType(
    SnapshotPoint point
)
LineType GetLineType(
    SnapshotPoint point
)
abstract GetLineType : 
        point:SnapshotPoint -> LineType 
function GetLineType(
    point : SnapshotPoint
) : LineType

Parameters

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

Return Value

Type: Microsoft.VisualStudio.Data.Tools.Delta..::..LineType
The type of its containing line.

See Also

Reference

IDifferenceBuffer Interface

Microsoft.VisualStudio.Data.Tools.Delta Namespace