Share via


ITextView.Caret Property

Gets the caret element.

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

Syntax

'Declaration
ReadOnly Property Caret As ITextCaret
ITextCaret Caret { get; }
property ITextCaret^ Caret {
    ITextCaret^ get ();
}
abstract Caret : ITextCaret with get
function get Caret () : ITextCaret

Property Value

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

.NET Framework Security

See Also

Reference

ITextView Interface

Microsoft.VisualStudio.Text.Editor Namespace