System::Activator::CreateInstance-Methode

Activator::CreateInstance method

Erstellt eine Instanz des angegebenen Typs mithilfe des parameterlosen Konstruktors dieses Typs.

static System::SharedPtr<System::Object> System::Activator::CreateInstance(const System::TypeInfo &type)
ParameterTypBeschreibung
Typconst System::TypeInfo&Der Typ des zu erstellenden Objekts.

Siehe auch