System::Activator::CreateInstance 方法
Activator::CreateInstance method
使用该类型的无参构造函数创建指定类型的实例。
static System::SharedPtr<System::Object> System::Activator::CreateInstance(const System::TypeInfo &type)
| 参数 | 类型 | 描述 |
|---|---|---|
| 类型 | const System::TypeInfo& | 要创建的对象类型。 |
使用该类型的无参构造函数创建指定类型的实例。
static System::SharedPtr<System::Object> System::Activator::CreateInstance(const System::TypeInfo &type)
| 参数 | 类型 | 描述 |
|---|---|---|
| 类型 | const System::TypeInfo& | 要创建的对象类型。 |