System::Activator::CreateInstance method
Activator::CreateInstance method
Creates an instance of the specified type using the parameterless constructor of that type.
static System::SharedPtr<System::Object> System::Activator::CreateInstance(const System::TypeInfo &type)
Parameter | Type | Description |
---|---|---|
type | const System::TypeInfo& | The type of object to create. |