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> with get
function get Lines () : IEnumerable<ITextSnapshotLine>

Property Value

Type: IEnumerable<ITextSnapshotLine>
An IEnumerable of type ITextSnapshotLine.

.NET Framework Security

See Also

Reference

ITextSnapshot Interface

Microsoft.VisualStudio.Text Namespace