CodeGeneratorContext.GenerateLinePragma Method (Span)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Generates the line pragma for the specified source.
Namespace: System.Web.Razor.Generator
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Function GenerateLinePragma ( _
target As Span _
) As CodeLinePragma
'Usage
Dim instance As CodeGeneratorContext
Dim target As Span
Dim returnValue As CodeLinePragma
returnValue = instance.GenerateLinePragma(target)
public CodeLinePragma GenerateLinePragma(
Span target
)
public:
CodeLinePragma^ GenerateLinePragma(
Span^ target
)
member GenerateLinePragma :
target:Span -> CodeLinePragma
public function GenerateLinePragma(
target : Span
) : CodeLinePragma
Parameters
- target
Type: System.Web.Razor.Parser.SyntaxTree.Span
The source span.
Return Value
Type: System.CodeDom.CodeLinePragma
The line pragma for the specified source.