Partager 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

'Déclaration
ReadOnly Property LineNumber As Integer
    Get
int LineNumber { get; }
property int LineNumber {
    int get ();
}
abstract LineNumber : int
function get LineNumber () : int

Property Value

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

.NET Framework Security

See Also

Reference

ITextSnapshotLine Interface

Microsoft.VisualStudio.Text Namespace