RenderTreeBuilder.AddContent Method

Definition

Overloads

AddContent(Int32, Object)

Appends a frame representing text content.

AddContent(Int32, Nullable<MarkupString>)

Appends a frame representing markup content.

AddContent(Int32, String)

Appends a frame representing text content.

AddContent(Int32, MarkupString)

Appends a frame representing markup content.

AddContent(Int32, RenderFragment)

Appends frames representing an arbitrary fragment of content.

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

Appends frames representing an arbitrary fragment of content.

AddContent(Int32, Object)

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

Appends a frame representing text content.

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)

Parameters

sequence
Int32

An integer that represents the position of the instruction in the source code.

textContent
Object

Content for the new text frame.

Applies to

AddContent(Int32, Nullable<MarkupString>)

Source:
RenderTreeBuilder.cs
Source:
RenderTreeBuilder.cs

Appends a frame representing markup content.

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))

Parameters

sequence
Int32

An integer that represents the position of the instruction in the source code.

markupContent
Nullable<MarkupString>

Content for the new text frame, or null.

Applies to

AddContent(Int32, String)

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

Appends a frame representing text content.

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)

Parameters

sequence
Int32

An integer that represents the position of the instruction in the source code.

textContent
String

Content for the new text frame.

Applies to

AddContent(Int32, MarkupString)

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

Appends a frame representing markup content.

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)

Parameters

sequence
Int32

An integer that represents the position of the instruction in the source code.

markupContent
MarkupString

Content for the new markup frame.

Applies to

AddContent(Int32, RenderFragment)

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

Appends frames representing an arbitrary fragment of content.

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)

Parameters

sequence
Int32

An integer that represents the position of the instruction in the source code.

fragment
RenderFragment

Content to append.

Applies to

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

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

Appends frames representing an arbitrary fragment of content.

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)

Type Parameters

TValue

Parameters

sequence
Int32

An integer that represents the position of the instruction in the source code.

fragment
RenderFragment<TValue>

Content to append.

value
TValue

The value used by fragment.

Applies to