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
Get
ITextViewLine ContainingTextViewLine { get; }
property ITextViewLine^ ContainingTextViewLine {
ITextViewLine^ get ();
}
abstract ContainingTextViewLine : ITextViewLine
function get ContainingTextViewLine () : ITextViewLine
Property Value
Type: Microsoft.VisualStudio.Text.Formatting.ITextViewLine
The containing line.
.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.