HtmlContentBuilderExtensions.AppendLine 方法

定義

多載

AppendLine(IHtmlContentBuilder)

NewLine附加 。

AppendLine(IHtmlContentBuilder, IHtmlContent)

NewLine附加 值之後附加 IHtmlContent

AppendLine(IHtmlContentBuilder, String)

NewLine附加 值之後附加 String 。 此值會被視為未編碼為提供,而且會在寫入輸出之前進行 HTML 編碼。

AppendLine(IHtmlContentBuilder)

來源:
HtmlContentBuilderExtensions.cs
來源:
HtmlContentBuilderExtensions.cs

NewLine附加 。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Html::IHtmlContentBuilder ^ AppendLine(Microsoft::AspNetCore::Html::IHtmlContentBuilder ^ builder);
public static Microsoft.AspNetCore.Html.IHtmlContentBuilder AppendLine (this Microsoft.AspNetCore.Html.IHtmlContentBuilder builder);
static member AppendLine : Microsoft.AspNetCore.Html.IHtmlContentBuilder -> Microsoft.AspNetCore.Html.IHtmlContentBuilder
<Extension()>
Public Function AppendLine (builder As IHtmlContentBuilder) As IHtmlContentBuilder

參數

傳回

IHtmlContentBuilder

適用於

AppendLine(IHtmlContentBuilder, IHtmlContent)

來源:
HtmlContentBuilderExtensions.cs
來源:
HtmlContentBuilderExtensions.cs

NewLine附加 值之後附加 IHtmlContent

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

參數

content
IHtmlContent

要附加的 IHtmlContent

傳回

IHtmlContentBuilder

適用於

AppendLine(IHtmlContentBuilder, String)

來源:
HtmlContentBuilderExtensions.cs
來源:
HtmlContentBuilderExtensions.cs

NewLine附加 值之後附加 String 。 此值會被視為未編碼為提供,而且會在寫入輸出之前進行 HTML 編碼。

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

參數

unencoded
String

要附加的 String

傳回

IHtmlContentBuilder

適用於