LinePragmaCodeInfo Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the LinePragmaCodeInfo class.
Overloads
LinePragmaCodeInfo() |
Initializes a new instance of the LinePragmaCodeInfo class. |
LinePragmaCodeInfo(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. |
LinePragmaCodeInfo()
Initializes a new instance of the LinePragmaCodeInfo class.
public:
LinePragmaCodeInfo();
public LinePragmaCodeInfo ();
Public Sub New ()
Remarks
To use the properties of a LinePragmaCodeInfo instance, use the constructor overload that takes parameters.
See also
Applies to
LinePragmaCodeInfo(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.
public:
LinePragmaCodeInfo(int startLine, int startColumn, int startGeneratedColumn, int codeLength, bool isCodeNugget);
public LinePragmaCodeInfo (int startLine, int startColumn, int startGeneratedColumn, int codeLength, bool isCodeNugget);
new System.Web.Compilation.LinePragmaCodeInfo : int * int * int * int * bool -> System.Web.Compilation.LinePragmaCodeInfo
Public Sub New (startLine As Integer, startColumn As Integer, startGeneratedColumn As Integer, codeLength As Integer, isCodeNugget As Boolean)
Parameters
- startLine
- Int32
The starting line of a script block in an .aspx file.
- startColumn
- Int32
The starting column of a script block in an .aspx file.
- startGeneratedColumn
- Int32
The starting column of a script block in the generated source file.
- codeLength
- Int32
The length of the script block.
- isCodeNugget
- Boolean
A value indicating whether the script block is located inside <% %> tags.
See also
Applies to
.NET