This documentation is archived and is not being maintained.

LinePragmaCodeInfo Constructor (Int32, Int32, Int32, Int32, Boolean)

Initializes a new instance of the LinePragmaCodeInfo class with parameters for initializing the StartLine, StartColumn, StartGeneratedColumn, CodeLength, and IsCodeNugget properties.

Namespace:  System.Web.Compilation
Assembly:  System.Web (in System.Web.dll)

public:
LinePragmaCodeInfo(
	int startLine, 
	int startColumn, 
	int startGeneratedColumn, 
	int codeLength, 
	bool isCodeNugget
)

Parameters

startLine
Type: System::Int32

The starting line of a script block in an .aspx file.

startColumn
Type: System::Int32

The starting column of a script block in an .aspx file.

startGeneratedColumn
Type: System::Int32

The starting column of a script block in the generated source file.

codeLength
Type: System::Int32

The length of the script block.

isCodeNugget
Type: System::Boolean

A value indicating whether the script block is located inside <% %> tags.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1, 3.0 SP1, 2.0 SP1
Show: