Instantiate the specified type defined in the specified assembly file with the supplied arguments to the type constructor, optionally ignoring the case of the assembly name and the type name, using the specified binder and binding flags. Optionally, the loaded assembly can be shared across application domains. A set of activation attributes can be supplied and evidence can be supplied.
[Visual Basic] Overloads Public Function CreateInstanceFrom( _ ByVal assemblyFile As String, _ ByVal typeName As String, _ ByVal ignoreCase As Boolean, _ ByVal bindingAttr As BindingFlags, _ ByVal binder As Binder, _ ByVal args() As Object, _ ByVal culture As CultureInfo, _ ByVal shared As Boolean, _ ByVal activationAttributes() As Object, _ ByVal securityAttributes As Evidence _ ) As ObjectHandle [C#] public ObjectHandle CreateInstanceFrom( string assemblyFile, string typeName, bool ignoreCase, BindingFlags bindingAttr, Binder binder, object[] args, CultureInfo culture, bool shared, object[] activationAttributes, Evidence securityAttributes ); [C++] public: ObjectHandle* CreateInstanceFrom( String* assemblyFile, String* typeName, bool ignoreCase, BindingFlags bindingAttr, Binder* binder, Object* args[], CultureInfo* culture, bool shared, Object* activationAttributes[], Evidence* securityAttributes ); [JScript] public function CreateInstanceFrom( assemblyFile : String, typeName : String, ignoreCase : Boolean, bindingAttr : BindingFlags, binder : Binder, args : Object[], culture : CultureInfo, shared : Boolean, activationAttributes : Object[], securityAttributes : Evidence ) : ObjectHandle;
AppDomain Class | AppDomain Members | System Namespace | AppDomain.CreateInstanceFrom Overload List