Share via


CodeWriter.WriteLinePragma Method

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
Public MustOverride Sub WriteLinePragma ( _
    lineNumber As Nullable(Of Integer), _
    fileName As String _
)
'Usage
Dim instance As CodeWriter
Dim lineNumber As Nullable(Of Integer)
Dim fileName As String

instance.WriteLinePragma(lineNumber, _
    fileName)
public abstract void WriteLinePragma(
    Nullable<int> lineNumber,
    string fileName
)
public:
virtual void WriteLinePragma(
    Nullable<int> lineNumber, 
    String^ fileName
) abstract
public abstract function WriteLinePragma(
    lineNumber : Nullable<int>, 
    fileName : String
)

Parameters

Permissions

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

See Also

Reference

CodeWriter Class

System.Web.Razor.Generator Namespace