ITextSnapshot.LineCount Property
Gets the number of lines in the snapshot.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
ReadOnly Property LineCount As Integer
Get
int LineCount { get; }
property int LineCount {
int get ();
}
abstract LineCount : int
function get LineCount () : int
Property Value
Type: System.Int32
The number of lines.
Remarks
A snapshot in which Length is zero is considered to have one 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.