WinEdit.CurrentLine Property

Gets the line number for the cursor position in a multiline edit control.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property CurrentLine As Integer
public virtual int CurrentLine { get; }
public:
virtual property int CurrentLine {
    int get ();
}
abstract CurrentLine : int
override CurrentLine : int
function get CurrentLine () : int

Property Value

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

.NET Framework Security

See Also

Reference

WinEdit Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace