RazorCodeGenerator.CreateLinePragma Method (RazorCodeGenerator.BlockContext)

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 ( _
    block As RazorCodeGenerator..::..BlockContext _
) As CodeLinePragma
'Usage
Dim block As RazorCodeGenerator..::..BlockContext
Dim returnValue As CodeLinePragma

returnValue = Me.CreateLinePragma(block)
protected virtual CodeLinePragma CreateLinePragma(
    RazorCodeGenerator..::..BlockContext block
)
protected:
virtual CodeLinePragma^ CreateLinePragma(
    RazorCodeGenerator..::..BlockContext^ block
)
protected function CreateLinePragma(
    block : RazorCodeGenerator..::..BlockContext
) : 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