IWpfTextView.TextViewLines Property
Gets the text view lines as an IWpfTextViewLineCollection.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'宣言
ReadOnly Property TextViewLines As IWpfTextViewLineCollection
Get
IWpfTextViewLineCollection TextViewLines { get; }
property IWpfTextViewLineCollection^ TextViewLines {
IWpfTextViewLineCollection^ get ();
}
abstract TextViewLines : IWpfTextViewLineCollection
function get TextViewLines () : IWpfTextViewLineCollection
Property Value
Type: Microsoft.VisualStudio.Text.Editor.IWpfTextViewLineCollection
The text view lines as an IWpfTextViewLineCollection.
Remarks
This property is nulla null reference (Nothing in Visual Basic) during the initialization of the view.
None of the lines in this collection have a VisibilityState of Unattached. Often the first and last lines in this collection have a VisibilityState of Hidden.
.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.