Renderer.InstantiateComponent(Type) Méthode

Définition

Construit un nouveau composant du type spécifié.

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

Paramètres

componentType
Type

Type du composant à instancier.

Retours

Instance du composant.

S’applique à