CreateInstance()
Activator::CreateInstance(const System::TypeInfo&) 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)
Arguments
Parameter | Type | Description |
---|---|---|
type | const System::TypeInfo& | The type of object to create. |