System::Activator::CreateInstance metode

Activator::CreateInstance method

Membuat sebuah instance dari tipe yang ditentukan menggunakan konstruktor tanpa parameter dari tipe tersebut.

static System::SharedPtr<System::Object> System::Activator::CreateInstance(const System::TypeInfo &type)
ParameterTipeDeskripsi
tipeconst System::TypeInfo&Tipe objek yang akan dibuat.

Lihat Juga