Share via


ITextCaret.ContainingTextViewLine Property

Gets the ITextViewLine that contains the caret, provided that that text line is visible in the view.

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

Syntax

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

Property Value

Type: Microsoft.VisualStudio.Text.Formatting.ITextViewLine
The containing line.

.NET Framework Security

See Also

Reference

ITextCaret Interface

Microsoft.VisualStudio.Text.Editor Namespace