共用方式為


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

'宣告
ReadOnly Property LineNumber As Integer
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