RazorCodeGenerator.CreateLinePragma Method (SourceLocation, Int32, Int32)

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

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

Syntax

'Declaration
Protected Overridable Function CreateLinePragma ( _
    sourceLocation As SourceLocation, _
    generatedCodeStart As Integer, _
    generatedCodeLength As Integer _
) As CodeLinePragma
'Usage
Dim sourceLocation As SourceLocation
Dim generatedCodeStart As Integer
Dim generatedCodeLength As Integer
Dim returnValue As CodeLinePragma

returnValue = Me.CreateLinePragma(sourceLocation, _
    generatedCodeStart, generatedCodeLength)
protected virtual CodeLinePragma CreateLinePragma(
    SourceLocation sourceLocation,
    int generatedCodeStart,
    int generatedCodeLength
)
protected:
virtual CodeLinePragma^ CreateLinePragma(
    SourceLocation sourceLocation, 
    int generatedCodeStart, 
    int generatedCodeLength
)
protected function CreateLinePragma(
    sourceLocation : SourceLocation, 
    generatedCodeStart : int, 
    generatedCodeLength : int
) : CodeLinePragma

Parameters

Return Value

Type: System.CodeDom.CodeLinePragma

Permissions

  • Medium trust for the immediate caller. This member can be used by partially trusted code.

See Also

Reference

RazorCodeGenerator Class

CreateLinePragma Overload

System.Web.Razor.Generator Namespace