_AppDomain.CreateInstanceFrom Method (String, String)
Provides COM objects with version-independent access to the AppDomain.CreateInstanceFrom(String, String) method overload.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Function CreateInstanceFrom ( _ assemblyFile As String, _ typeName As String _ ) As ObjectHandle
- Type: System.String
The name, including the path, of a file that contains an assembly that defines the requested type. The assembly is loaded using the LoadFrom method.
Return ValueType: System.Runtime.Remoting.ObjectHandle
An object that is a wrapper for the new instance, or Nothing if typeName is not found. The return value needs to be unwrapped to access the real object.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.