ITextView.Caret Property
Gets the caret element.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'宣告
ReadOnly Property Caret As ITextCaret
Get
ITextCaret Caret { get; }
property ITextCaret^ Caret {
ITextCaret^ get ();
}
abstract Caret : ITextCaret
function get Caret () : ITextCaret
Property Value
Type: Microsoft.VisualStudio.Text.Editor.ITextCaret
The caret.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.