共用方式為


ITextView.Caret 屬性

取得插入號項目。

命名空間:  Microsoft.VisualStudio.Text.Editor
組件:  Microsoft.VisualStudio.Text.UI (在 Microsoft.VisualStudio.Text.UI.dll 中)

語法

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

屬性值

類型:Microsoft.VisualStudio.Text.Editor.ITextCaret
插入號。

.NET Framework 安全性

請參閱

參考

ITextView 介面

Microsoft.VisualStudio.Text.Editor 命名空間