Activator.CreateInstanceFrom Method

Creates an instance of the type whose name is specified, using the named assembly file and the constructor that best matches the specified parameters.

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

  NameDescription
Public method Static member CreateInstanceFrom(AppDomain, String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[], Evidence) Creates an instance of the type whose name is specified in the specified remote domain, using the named assembly file and the constructor that best matches the specified parameters.
Public method Static member CreateInstanceFrom(String, String) Creates an instance of the type whose name is specified, using the named assembly file and default constructor.
Public method Static member CreateInstanceFrom(AppDomain, String, String) Creates an instance of the type whose name is specified in the specified remote domain, using the named assembly file and default constructor.
Public method Static member CreateInstanceFrom(String, String, Object[]) Creates an instance of the type whose name is specified, using the named assembly file and default constructor.
Public method Static member CreateInstanceFrom(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[], Evidence) Creates an instance of the type whose name is specified, using the named assembly file and the constructor that best matches the specified parameters.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft