AppDomain::CreateInstanceAndUnwrap Method

 

Creates a new instance of a specified type.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodCreateInstanceAndUnwrap(String^, String^)

Creates a new instance of the specified type. Parameters specify the assembly where the type is defined, and the name of the type.

System_CAPS_pubmethodCreateInstanceAndUnwrap(String^, String^, Boolean, BindingFlags, Binder^, array<Object^>^, CultureInfo^, array<Object^>^)

Creates a new instance of the specified type defined in the specified assembly, specifying whether the case of the type name is ignored; the binding attributes and the binder that are used to select the type to be created; the arguments of the constructor; the culture; and the activation attributes.

System_CAPS_pubmethodCreateInstanceAndUnwrap(String^, String^, Boolean, BindingFlags, Binder^, array<Object^>^, CultureInfo^, array<Object^>^, Evidence^)

Obsolete. Creates a new instance of the specified type. Parameters specify the name of the type, and how it is found and created.

System_CAPS_pubmethodCreateInstanceAndUnwrap(String^, String^, array<Object^>^)

Creates a new instance of the specified type. Parameters specify the assembly where the type is defined, the name of the type, and an array of activation attributes.

Return to top
Show: