IComponentActivator.CreateInstance(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.
Creates a component of the specified type.
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
Parameters
- componentType
- Type
The type of component to create.
Returns
A reference to the newly created component.