Activator.CreateInstanceFrom Method (System)

Switch View :
ScriptFree
.NET Framework Class Library
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.

Overload List

  Name Description
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[]) Creates an instance of the type whose name is specified, using the named assembly file and the constructor that best matches the specified parameters.
Public method Static member CreateInstanceFrom(AppDomain, String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[]) 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, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[], Evidence) Obsolete. Creates an instance of the type whose name is specified, using the named assembly file and the constructor that best matches the specified parameters.
Public method Static member CreateInstanceFrom(AppDomain, String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[], Evidence) Obsolete. 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.
Top
See Also

Reference