Condividi tramite


IComponentActivator.CreateInstance(Type) Metodo

Definizione

Crea un componente del tipo specificato.

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

Parametri

componentType
Type

Tipo di componente da creare.

Restituisce

Riferimento al componente appena creato.

Si applica a