Skip to main content
.NET Framework Class Library
AppDomain..::.CreateInstance Method





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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List
 NameDescription
Public methodCreateInstance(String, String)Creates a new instance of the specified type defined in the specified assembly.
Public methodCreateInstance(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.
Public methodCreateInstance(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.
Public methodCreateInstance(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.
Top