Edit

Share via


SourceLocation Constructors

Definition

Creates a new instance of the SourceLocation class.

Overloads

SourceLocation(String, Int32)

Creates a new instance of the SourceLocation class that specifies a source code file name and the number of a line in that file.

SourceLocation(String, Int32, Int32, Int32, Int32)

Creates a new instance of the SourceLocation class that specifies a source code file name and parameters for a range of data within that file.

SourceLocation(String, Int32)

Creates a new instance of the SourceLocation class that specifies a source code file name and the number of a line in that file.

public:
 SourceLocation(System::String ^ fileName, int line);
public SourceLocation (string fileName, int line);
new System.Activities.Debugger.SourceLocation : string * int -> System.Activities.Debugger.SourceLocation
Public Sub New (fileName As String, line As Integer)

Parameters

fileName
String

A source code file.

line
Int32

The number of a line in the source code file.

Applies to

SourceLocation(String, Int32, Int32, Int32, Int32)

Creates a new instance of the SourceLocation class that specifies a source code file name and parameters for a range of data within that file.

public:
 SourceLocation(System::String ^ fileName, int startLine, int startColumn, int endLine, int endColumn);
public SourceLocation (string fileName, int startLine, int startColumn, int endLine, int endColumn);
new System.Activities.Debugger.SourceLocation : string * int * int * int * int -> System.Activities.Debugger.SourceLocation
Public Sub New (fileName As String, startLine As Integer, startColumn As Integer, endLine As Integer, endColumn As Integer)

Parameters

fileName
String

The name of a source code file.

startLine
Int32

A number that designates the line in the source code file where reading begins.

startColumn
Int32

A number that designates the column in the source code file where reading begins.

endLine
Int32

A number that designates the line in the source code file where reading ends.

endColumn
Int32

A number that designates the column in the source code file where reading ends.

Applies to