ITextCaret.Position Property

Gets the current position of the caret.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

声明
ReadOnly Property Position As CaretPosition
CaretPosition Position { get; }
property CaretPosition Position {
    CaretPosition get ();
}
abstract Position : CaretPosition
function get Position () : CaretPosition

Property Value

Type: Microsoft.VisualStudio.Text.Editor.CaretPosition
The current position.

.NET Framework Security

See Also

Reference

ITextCaret Interface

Microsoft.VisualStudio.Text.Editor Namespace