RenderTreeBuilder.AddContent Metoda

Definicja

Przeciążenia

AddContent(Int32, Object)

Dołącza ramkę reprezentującą zawartość tekstową.

AddContent(Int32, Nullable<MarkupString>)

Dołącza ramkę reprezentującą zawartość znaczników.

AddContent(Int32, String)

Dołącza ramkę reprezentującą zawartość tekstową.

AddContent(Int32, MarkupString)

Dołącza ramkę reprezentującą zawartość znaczników.

AddContent(Int32, RenderFragment)

Dołącza ramki reprezentujące dowolny fragment zawartości.

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

Dołącza ramki reprezentujące dowolny fragment zawartości.

AddContent(Int32, Object)

Dołącza ramkę reprezentującą zawartość tekstową.

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)

Parametry

sequence
Int32

Liczba całkowita reprezentująca pozycję instrukcji w kodzie źródłowym.

textContent
Object

Zawartość nowej ramki tekstowej.

Dotyczy

AddContent(Int32, Nullable<MarkupString>)

Dołącza ramkę reprezentującą zawartość znaczników.

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

Parametry

sequence
Int32

Liczba całkowita reprezentująca pozycję instrukcji w kodzie źródłowym.

markupContent
Nullable<MarkupString>

Zawartość nowej ramki tekstowej lub null.

Dotyczy

AddContent(Int32, String)

Dołącza ramkę reprezentującą zawartość tekstową.

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)

Parametry

sequence
Int32

Liczba całkowita reprezentująca pozycję instrukcji w kodzie źródłowym.

textContent
String

Zawartość nowej ramki tekstowej.

Dotyczy

AddContent(Int32, MarkupString)

Dołącza ramkę reprezentującą zawartość znaczników.

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)

Parametry

sequence
Int32

Liczba całkowita reprezentująca pozycję instrukcji w kodzie źródłowym.

markupContent
MarkupString

Zawartość nowej ramki znaczników.

Dotyczy

AddContent(Int32, RenderFragment)

Dołącza ramki reprezentujące dowolny fragment zawartości.

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)

Parametry

sequence
Int32

Liczba całkowita reprezentująca pozycję instrukcji w kodzie źródłowym.

fragment
RenderFragment

Zawartość do dołączenia.

Dotyczy

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

Dołącza ramki reprezentujące dowolny fragment zawartości.

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)

Parametry typu

TValue

Parametry

sequence
Int32

Liczba całkowita reprezentująca pozycję instrukcji w kodzie źródłowym.

fragment
RenderFragment<TValue>

Zawartość do dołączenia.

value
TValue

Wartość używana przez fragmentprogram .

Dotyczy