Renderer.InstantiateComponent(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.