Share via


CodeWriter.WriteStringLiteral 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 WriteStringLiteral ( _
    literal As String _
)
'Usage
Dim instance As CodeWriter
Dim literal As String

instance.WriteStringLiteral(literal)
public abstract void WriteStringLiteral(
    string literal
)
public:
virtual void WriteStringLiteral(
    String^ literal
) abstract
public abstract function WriteStringLiteral(
    literal : 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