CSharpCodeWriter.WriteStringLiteral(String) 方法

定义

public:
 Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWriter ^ WriteStringLiteral(System::String ^ literal);
public Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter WriteStringLiteral(string literal);
member this.WriteStringLiteral : string -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWriter
Public Function WriteStringLiteral (literal As String) As CSharpCodeWriter

参数

literal
String

返回

适用于