HtmlContentBuilder 构造函数

定义

重载

HtmlContentBuilder()

创建一个新的 HtmlContentBuilder

HtmlContentBuilder(IList<Object>)

使用给定的条目列表创建新的 HtmlContentBuilder

HtmlContentBuilder(Int32)

使用给定的初始容量创建新的 HtmlContentBuilder

HtmlContentBuilder()

Source:
HtmlContentBuilder.cs
Source:
HtmlContentBuilder.cs
Source:
HtmlContentBuilder.cs

创建一个新的 HtmlContentBuilder

public:
 HtmlContentBuilder();
public HtmlContentBuilder ();
Public Sub New ()

适用于

HtmlContentBuilder(IList<Object>)

Source:
HtmlContentBuilder.cs
Source:
HtmlContentBuilder.cs
Source:
HtmlContentBuilder.cs

使用给定的条目列表创建新的 HtmlContentBuilder

public:
 HtmlContentBuilder(System::Collections::Generic::IList<System::Object ^> ^ entries);
public HtmlContentBuilder (System.Collections.Generic.IList<object> entries);
new Microsoft.AspNetCore.Html.HtmlContentBuilder : System.Collections.Generic.IList<obj> -> Microsoft.AspNetCore.Html.HtmlContentBuilder
Public Sub New (entries As IList(Of Object))

参数

entries
IList<Object>

条目列表。 HtmlContentBuilder将使用此列表而不创建副本。

适用于

HtmlContentBuilder(Int32)

Source:
HtmlContentBuilder.cs
Source:
HtmlContentBuilder.cs
Source:
HtmlContentBuilder.cs

使用给定的初始容量创建新的 HtmlContentBuilder

public:
 HtmlContentBuilder(int capacity);
public HtmlContentBuilder (int capacity);
new Microsoft.AspNetCore.Html.HtmlContentBuilder : int -> Microsoft.AspNetCore.Html.HtmlContentBuilder
Public Sub New (capacity As Integer)

参数

capacity
Int32

后备存储的初始容量。

适用于