Share via


HtmlContentBuilderExtensions.AppendLine 方法

定义

重载

AppendLine(IHtmlContentBuilder)

追加 。NewLine

AppendLine(IHtmlContentBuilder, IHtmlContent)

NewLine 追加值后追加 IHtmlContent

AppendLine(IHtmlContentBuilder, String)

NewLine 追加值后追加 String 。 该值被视为提供的未编码,在写入输出之前将进行 HTML 编码。

AppendLine(IHtmlContentBuilder)

Source:
HtmlContentBuilderExtensions.cs
Source:
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)

Source:
HtmlContentBuilderExtensions.cs
Source:
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)

Source:
HtmlContentBuilderExtensions.cs
Source:
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

适用于