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

Activator::CreateInstance method

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

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

انظر أيضًا