Share via


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

instance.WriteStringLiteral(literal)
public override void WriteStringLiteral(
    string literal
)
public:
virtual void WriteStringLiteral(
    String^ literal
) override
public override function WriteStringLiteral(
    literal : String
)

Parameters

Permissions

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

See Also

Reference

CSharpCodeWriter Class

System.Web.Razor.Generator Namespace