Compartilhar via


ITextSnapshotLine.LineNumber Property

Gets the 0-based line number of the line.

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

Syntax

'Declaration
ReadOnly Property LineNumber As Integer
int LineNumber { get; }
property int LineNumber {
    int get ();
}
abstract LineNumber : int with get
function get LineNumber () : int

Property Value

Type: Int32
The 0-based line number of the line.

.NET Framework Security

See Also

Reference

ITextSnapshotLine Interface

Microsoft.VisualStudio.Text Namespace