共用方式為


CSharpCodeWriter.WriteComment(String) 方法

定義

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

參數

comment
String

傳回

適用於