IEditorSelection.CaretPosition 屬性
適用於版本2
取得 Buffer 位置。
命名空間: Microsoft.WebMatrix.Extensibility.Editor
組件: Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)
語法
'宣告
ReadOnly Property CaretPosition As Integer
Get
'用途
Dim instance As IEditorSelection
Dim value As Integer
value = instance.CaretPosition
int CaretPosition { get; }
property int CaretPosition {
int get ();
}
abstract CaretPosition : int
function get CaretPosition () : int
屬性值
型別:System.Int32
Buffer 位置。