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

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

Namespace:   System.Activities.Debugger
Assembly:  System.Activities (in System.Activities.dll)

public SourceLocation(
	string fileName,
	int startLine,
	int startColumn,
	int endLine,
	int endColumn
)

Parameters

fileName
Type: System.String

The name of a source code file.

startLine
Type: System.Int32

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

startColumn
Type: System.Int32

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

endLine
Type: System.Int32

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

endColumn
Type: System.Int32

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

.NET Framework
Available since 4.0
Return to top
Show: