Partager via


IComponentActivator.CreateInstance(Type) Méthode

Définition

Crée un composant du type spécifié.

public:
 Microsoft::AspNetCore::Components::IComponent ^ CreateInstance(Type ^ componentType);
public Microsoft.AspNetCore.Components.IComponent CreateInstance (Type componentType);
abstract member CreateInstance : Type -> Microsoft.AspNetCore.Components.IComponent
Public Function CreateInstance (componentType As Type) As IComponent

Paramètres

componentType
Type

Type du composant à créer.

Retours

Référence au composant nouvellement créé.

S’applique à