IEditorSelection.CurrentLine 属性
适用于版本2
获取编辑器中的光标位置所在当前行号。
命名空间: Microsoft.WebMatrix.Extensibility.Editor
程序集: Microsoft.WebMatrix.Extensibility(在 Microsoft.WebMatrix.Extensibility.dll 中)
语法
声明
ReadOnly Property CurrentLine As Integer
Get
用法
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
属性值
类型:System.Int32
编辑器中的光标位置所在当前行号。