Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.