IComponentActivator.CreateInstance(Type) Metoda

Definice

Vytvoří součást zadaného typu.

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

Parametry

componentType
Type

Typ komponenty, který chcete vytvořit.

Návraty

IComponent

Odkaz na nově vytvořenou komponentu.

Platí pro