Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

_AppDomain.CreateInstance Method

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

Overload List

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

[Visual Basic] Overloads Function CreateInstance(String, String) As ObjectHandle
[C#] ObjectHandle CreateInstance(string, string);
[C++] ObjectHandle* CreateInstance(String*, String*);
[JScript] function CreateInstance(String, String) : ObjectHandle;

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

[Visual Basic] Overloads Function CreateInstance(String, String, Object()) As ObjectHandle
[C#] ObjectHandle CreateInstance(string, string, object[]);
[C++] ObjectHandle* CreateInstance(String*, String*, Object[]);
[JScript] function CreateInstance(String, String, Object[]) : ObjectHandle;

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.

[Visual Basic] Overloads Function CreateInstance(String, String, Boolean, BindingFlags, Binder, Object(), CultureInfo, Object(), Evidence) As ObjectHandle
[C#] ObjectHandle CreateInstance(string, string, bool, BindingFlags, Binder, object[], CultureInfo, object[], Evidence);
[C++] ObjectHandle* CreateInstance(String*, String*, bool, BindingFlags, Binder*, Object[], CultureInfo*, Object[], Evidence*);
[JScript] function CreateInstance(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[], Evidence) : ObjectHandle;

See Also

_AppDomain Interface | _AppDomain Members | System Namespace

Show:
© 2015 Microsoft