RenderTreeBuilder.AddContent Método

Definición

Sobrecargas

AddContent(Int32, Object)

Anexa un marco que representa el contenido de texto.

AddContent(Int32, Nullable<MarkupString>)

Anexa un marco que representa el contenido de marcado.

AddContent(Int32, String)

Anexa un marco que representa el contenido de texto.

AddContent(Int32, MarkupString)

Anexa un marco que representa el contenido de marcado.

AddContent(Int32, RenderFragment)

Anexa marcos que representan un fragmento arbitrario de contenido.

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

Anexa marcos que representan un fragmento arbitrario de contenido.

AddContent(Int32, Object)

Anexa un marco que representa el contenido de texto.

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)

Parámetros

sequence
Int32

Entero que representa la posición de la instrucción en el código fuente.

textContent
Object

Contenido del nuevo marco de texto.

Se aplica a

AddContent(Int32, Nullable<MarkupString>)

Anexa un marco que representa el contenido de marcado.

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

Parámetros

sequence
Int32

Entero que representa la posición de la instrucción en el código fuente.

markupContent
Nullable<MarkupString>

Contenido para el nuevo marco de texto o null.

Se aplica a

AddContent(Int32, String)

Anexa un marco que representa el contenido de texto.

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)

Parámetros

sequence
Int32

Entero que representa la posición de la instrucción en el código fuente.

textContent
String

Contenido del nuevo marco de texto.

Se aplica a

AddContent(Int32, MarkupString)

Anexa un marco que representa el contenido de marcado.

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)

Parámetros

sequence
Int32

Entero que representa la posición de la instrucción en el código fuente.

markupContent
MarkupString

Contenido del nuevo marco de marcado.

Se aplica a

AddContent(Int32, RenderFragment)

Anexa marcos que representan un fragmento arbitrario de contenido.

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)

Parámetros

sequence
Int32

Entero que representa la posición de la instrucción en el código fuente.

fragment
RenderFragment

Contenido que se va a anexar.

Se aplica a

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

Anexa marcos que representan un fragmento arbitrario de contenido.

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)

Parámetros de tipo

TValue

Parámetros

sequence
Int32

Entero que representa la posición de la instrucción en el código fuente.

fragment
RenderFragment<TValue>

Contenido que se va a anexar.

value
TValue

Valor utilizado por fragment.

Se aplica a