RenderTreeBuilder.OpenComponent Method

Definition

Overloads

OpenComponent(Int32, Type)

Appends a frame representing a child component.

OpenComponent<TComponent>(Int32)

Appends a frame representing a child component.

OpenComponent(Int32, Type)

Appends a frame representing a child component.

public:
 void OpenComponent(int sequence, Type ^ componentType);
public void OpenComponent (int sequence, Type componentType);
member this.OpenComponent : int * Type -> unit
Public Sub OpenComponent (sequence As Integer, componentType As Type)

Parameters

sequence
Int32

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

componentType
Type

The type of the child component.

Applies to

OpenComponent<TComponent>(Int32)

Appends a frame representing a child component.

public:
generic <typename TComponent>
 where TComponent : Microsoft::AspNetCore::Components::IComponent void OpenComponent(int sequence);
public void OpenComponent<TComponent> (int sequence) where TComponent : Microsoft.AspNetCore.Components.IComponent;
member this.OpenComponent : int -> unit (requires 'Component :> Microsoft.AspNetCore.Components.IComponent)
Public Sub OpenComponent(Of TComponent As IComponent) (sequence As Integer)

Type Parameters

TComponent

The type of the child component.

Parameters

sequence
Int32

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

Applies to