Share via


Renderer.InstantiateComponent(Type) Method

Definition

Constructs a new component of the specified type.

protected:
 Microsoft::AspNetCore::Components::IComponent ^ InstantiateComponent(Type ^ componentType);
protected Microsoft.AspNetCore.Components.IComponent InstantiateComponent (Type componentType);
member this.InstantiateComponent : Type -> Microsoft.AspNetCore.Components.IComponent
Protected Function InstantiateComponent (componentType As Type) As IComponent

Parameters

componentType
Type

The type of the component to instantiate.

Returns

The component instance.

Applies to