طريقة System::Activator::CreateInstance

Activator::CreateInstance method

ينشئ مثيلًا من النوع المحدد باستخدام المُنشئ بدون معلمات لهذا النوع.

static System::SharedPtr<System::Object> System::Activator::CreateInstance(const System::TypeInfo &type)
معاملنوعالوصف
نوعconst System::TypeInfo&نوع الكائن الذي سيتم إنشاؤه.

انظر أيضًا