Share via


SourceLocation Constructor

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

Initializes a new instance of the SourceLocation class.

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

Syntax

'Declaration
Public Sub New ( _
    absoluteIndex As Integer, _
    lineIndex As Integer, _
    characterIndex As Integer _
)
'Usage
Dim absoluteIndex As Integer 
Dim lineIndex As Integer 
Dim characterIndex As Integer 

Dim instance As New SourceLocation(absoluteIndex, _
    lineIndex, characterIndex)
public SourceLocation(
    int absoluteIndex,
    int lineIndex,
    int characterIndex
)
public:
SourceLocation(
    int absoluteIndex, 
    int lineIndex, 
    int characterIndex
)
new : 
        absoluteIndex:int * 
        lineIndex:int * 
        characterIndex:int -> SourceLocation
public function SourceLocation(
    absoluteIndex : int, 
    lineIndex : int, 
    characterIndex : int
)

Parameters

See Also

Reference

SourceLocation Structure

System.Web.Razor.Text Namespace