CreateInstance Method

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, Object[], CultureInfo, 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, Object[], CultureInfo, 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, 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:
© 2016 Microsoft