RenderTreeBuilder.AddContent 方法

定义

重载

AddContent(Int32, Object)

追加表示文本内容的框架。

AddContent(Int32, Nullable<MarkupString>)

追加表示标记内容的框架。

AddContent(Int32, String)

追加表示文本内容的框架。

AddContent(Int32, MarkupString)

追加表示标记内容的框架。

AddContent(Int32, RenderFragment)

追加表示任意内容片段的帧。

AddContent<TValue>(Int32, RenderFragment<TValue>, TValue)

追加表示任意内容片段的帧。

AddContent(Int32, Object)

Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs

追加表示文本内容的框架。

public:
 void AddContent(int sequence, System::Object ^ textContent);
public void AddContent (int sequence, object textContent);
public void AddContent (int sequence, object? textContent);
member this.AddContent : int * obj -> unit
Public Sub AddContent (sequence As Integer, textContent As Object)

参数

sequence
Int32

一个整数,表示指令在源代码中的位置。

textContent
Object

新文本框的内容。

适用于

AddContent(Int32, Nullable<MarkupString>)

Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs

追加表示标记内容的框架。

public void AddContent (int sequence, Microsoft.AspNetCore.Components.MarkupString? markupContent);
member this.AddContent : int * Nullable<Microsoft.AspNetCore.Components.MarkupString> -> unit
Public Sub AddContent (sequence As Integer, markupContent As Nullable(Of MarkupString))

参数

sequence
Int32

一个整数,表示指令在源代码中的位置。

markupContent
Nullable<MarkupString>

新文本框架的内容,或 null。

适用于

AddContent(Int32, String)

Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs

追加表示文本内容的框架。

public:
 void AddContent(int sequence, System::String ^ textContent);
public void AddContent (int sequence, string textContent);
public void AddContent (int sequence, string? textContent);
member this.AddContent : int * string -> unit
Public Sub AddContent (sequence As Integer, textContent As String)

参数

sequence
Int32

一个整数,表示指令在源代码中的位置。

textContent
String

新文本框的内容。

适用于

AddContent(Int32, MarkupString)

Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs

追加表示标记内容的框架。

public:
 void AddContent(int sequence, Microsoft::AspNetCore::Components::MarkupString markupContent);
public void AddContent (int sequence, Microsoft.AspNetCore.Components.MarkupString markupContent);
member this.AddContent : int * Microsoft.AspNetCore.Components.MarkupString -> unit
Public Sub AddContent (sequence As Integer, markupContent As MarkupString)

参数

sequence
Int32

一个整数,表示指令在源代码中的位置。

markupContent
MarkupString

新标记框架的内容。

适用于

AddContent(Int32, RenderFragment)

Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs

追加表示任意内容片段的帧。

public:
 void AddContent(int sequence, Microsoft::AspNetCore::Components::RenderFragment ^ fragment);
public void AddContent (int sequence, Microsoft.AspNetCore.Components.RenderFragment fragment);
public void AddContent (int sequence, Microsoft.AspNetCore.Components.RenderFragment? fragment);
member this.AddContent : int * Microsoft.AspNetCore.Components.RenderFragment -> unit
Public Sub AddContent (sequence As Integer, fragment As RenderFragment)

参数

sequence
Int32

一个整数,表示指令在源代码中的位置。

fragment
RenderFragment

要追加的内容。

适用于

AddContent<TValue>(Int32, RenderFragment<TValue>, TValue)

Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs

追加表示任意内容片段的帧。

public:
generic <typename TValue>
 void AddContent(int sequence, Microsoft::AspNetCore::Components::RenderFragment<TValue> ^ fragment, TValue value);
public void AddContent<TValue> (int sequence, Microsoft.AspNetCore.Components.RenderFragment<TValue> fragment, TValue value);
public void AddContent<TValue> (int sequence, Microsoft.AspNetCore.Components.RenderFragment<TValue>? fragment, TValue value);
member this.AddContent : int * Microsoft.AspNetCore.Components.RenderFragment<'Value> * 'Value -> unit
Public Sub AddContent(Of TValue) (sequence As Integer, fragment As RenderFragment(Of TValue), value As TValue)

类型参数

TValue

参数

sequence
Int32

一个整数,表示指令在源代码中的位置。

fragment
RenderFragment<TValue>

要追加的内容。

value
TValue

使用 fragment的值。

适用于