Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AppDomain::CreateInstance Method

 

Creates a new instance of a specified type defined in a specified assembly.

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

NameDescription
System_CAPS_pubmethodCreateInstance(String^, String^)

Creates a new instance of the specified type defined in the specified assembly.

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

Creates a new instance of the specified type defined in the specified assembly. Parameters specify a binder, binding flags, constructor arguments, culture-specific information used to interpret arguments, and optional activation attributes.

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

Obsolete. Creates a new instance of the specified type defined in the specified assembly. Parameters specify a binder, binding flags, constructor arguments, culture-specific information used to interpret arguments, activation attributes, and authorization to create the type.

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

Creates a new instance of the specified type defined in the specified assembly. A parameter specifies an array of activation attributes.

Return to top
Show:
© 2017 Microsoft