Freigeben über


ITextSnapshot.Lines Property

Gets an enumerator for the set of lines in the snapshot.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaration
ReadOnly Property Lines As IEnumerable(Of ITextSnapshotLine)
IEnumerable<ITextSnapshotLine> Lines { get; }
property IEnumerable<ITextSnapshotLine^>^ Lines {
    IEnumerable<ITextSnapshotLine^>^ get ();
}
abstract Lines : IEnumerable<ITextSnapshotLine>
function get Lines () : IEnumerable<ITextSnapshotLine>

Property Value

Type: System.Collections.Generic.IEnumerable<ITextSnapshotLine>
An IEnumerable<T> of type ITextSnapshotLine.

.NET Framework Security

See Also

Reference

ITextSnapshot Interface

Microsoft.VisualStudio.Text Namespace