This documentation is archived and is not being maintained.

ITextView.Caret Property

Gets the caret element.

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

ITextCaret Caret { get; }

Property Value

Type: Microsoft.VisualStudio.Text.Editor.ITextCaret
The caret.

Show: