Partager via


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

'Declaration
ReadOnly Property Position As CaretPosition
CaretPosition Position { get; }
property CaretPosition Position {
    CaretPosition get ();
}
abstract Position : CaretPosition with get
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