共用方式為


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

傳回

適用於