共用方式為


ITextCaret.ContainingTextViewLine 屬性

取得包含插入號的 ITextViewLine (假設在檢視中可看見文字行)。

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

語法

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

屬性值

類型:Microsoft.VisualStudio.Text.Formatting.ITextViewLine
包含行。

.NET Framework 安全性

請參閱

參考

ITextCaret 介面

Microsoft.VisualStudio.Text.Editor 命名空間