共用方式為


IWpfTextViewLineCollection.WpfTextViewLines Property

Gets a collection of IWpfTextViewLine objects.

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

Syntax

'宣告
ReadOnly Property WpfTextViewLines As ReadOnlyCollection(Of IWpfTextViewLine)
    Get
ReadOnlyCollection<IWpfTextViewLine> WpfTextViewLines { get; }
property ReadOnlyCollection<IWpfTextViewLine^>^ WpfTextViewLines {
    ReadOnlyCollection<IWpfTextViewLine^>^ get ();
}
abstract WpfTextViewLines : ReadOnlyCollection<IWpfTextViewLine>
function get WpfTextViewLines () : ReadOnlyCollection<IWpfTextViewLine>

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<IWpfTextViewLine>
A collection of IWpfTextViewLine objects.

.NET Framework Security

See Also

Reference

IWpfTextViewLineCollection Interface

Microsoft.VisualStudio.Text.Editor Namespace