## Activator::CreateInstance method


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

```cpp
static System::SharedPtr<System::Object> System::Activator::CreateInstance(const System::TypeInfo &type)
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Typ | const System::TypeInfo\& | Der Typ des zu erstellenden Objekts. |

## Siehe auch

* Typedef [SharedPtr](../../sharedptr/)
* Class [Object](../../object/)
* Class [TypeInfo](../../typeinfo/)
* Class [Activator](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
