共用方式為


HtmlContentBuilderExtensions.AppendHtmlLine 方法

定義

NewLine在附加值之後附加 String 。 此值會被視為以提供的編碼 HTML,不會執行進一步的編碼。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Html::IHtmlContentBuilder ^ AppendHtmlLine(Microsoft::AspNetCore::Html::IHtmlContentBuilder ^ builder, System::String ^ encoded);
public static Microsoft.AspNetCore.Html.IHtmlContentBuilder AppendHtmlLine (this Microsoft.AspNetCore.Html.IHtmlContentBuilder builder, string encoded);
static member AppendHtmlLine : Microsoft.AspNetCore.Html.IHtmlContentBuilder * string -> Microsoft.AspNetCore.Html.IHtmlContentBuilder
<Extension()>
Public Function AppendHtmlLine (builder As IHtmlContentBuilder, encoded As String) As IHtmlContentBuilder

參數

encoded
String

要附加的 String HTML 編碼。

傳回

IHtmlContentBuilder

適用於