Share via


IEditorSelection.CurrentLine Property

Applies to v2.

Gets the current line number for the cursor position in the editor.

Namespace:  Microsoft.WebMatrix.Extensibility.Editor
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
ReadOnly Property CurrentLine As Integer 
    Get
'Usage
Dim instance As IEditorSelection 
Dim value As Integer 

value = instance.CurrentLine
int CurrentLine { get; }
property int CurrentLine {
    int get ();
}
abstract CurrentLine : int
function get CurrentLine () : int

Property Value

Type: System.Int32
The current line number for the cursor position in the editor.

See Also

Reference

IEditorSelection Interface

Microsoft.WebMatrix.Extensibility.Editor Namespace