Share via


SourceLocation Constructors

Definition

Overloads

SourceLocation(Int32, Int32, Int32)

Initializes a new instance of SourceLocation.

SourceLocation(String, Int32, Int32, Int32)

Initializes a new instance of SourceLocation.

SourceLocation(Int32, Int32, Int32)

Initializes a new instance of SourceLocation.

public:
 SourceLocation(int absoluteIndex, int lineIndex, int characterIndex);
public SourceLocation (int absoluteIndex, int lineIndex, int characterIndex);
new Microsoft.AspNetCore.Razor.SourceLocation : int * int * int -> Microsoft.AspNetCore.Razor.SourceLocation
Public Sub New (absoluteIndex As Integer, lineIndex As Integer, characterIndex As Integer)

Parameters

absoluteIndex
Int32

The absolute index.

lineIndex
Int32

The line index.

characterIndex
Int32

The character index.

Applies to

SourceLocation(String, Int32, Int32, Int32)

Initializes a new instance of SourceLocation.

public:
 SourceLocation(System::String ^ filePath, int absoluteIndex, int lineIndex, int characterIndex);
public SourceLocation (string filePath, int absoluteIndex, int lineIndex, int characterIndex);
new Microsoft.AspNetCore.Razor.SourceLocation : string * int * int * int -> Microsoft.AspNetCore.Razor.SourceLocation
Public Sub New (filePath As String, absoluteIndex As Integer, lineIndex As Integer, characterIndex As Integer)

Parameters

filePath
String

The file path.

absoluteIndex
Int32

The absolute index.

lineIndex
Int32

The line index.

characterIndex
Int32

The character index.

Applies to