Share via


SourceLocation.LineIndex Property

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets the line index for the source location.

Namespace:  System.Web.Razor.Text
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public ReadOnly Property LineIndex As Integer 
    Get
'Usage
Dim instance As SourceLocation 
Dim value As Integer 

value = instance.LineIndex
public int LineIndex { get; }
public:
property int LineIndex {
    int get ();
}
member LineIndex : int
function get LineIndex () : int

Property Value

Type: System.Int32
The line index for the source location.

See Also

Reference

SourceLocation Structure

System.Web.Razor.Text Namespace