Assembly.GetType Method (String)
Gets the Type object with the specified name in the assembly instance.
Assembly: mscorlib (in mscorlib.dll)
name is invalid.
name is null.
name requires a dependent assembly that could not be found.
name requires a dependent assembly that was found but could not be loaded.
The current assembly was loaded into the reflection-only context, and name requires a dependent assembly that was not preloaded.
name requires a dependent assembly, but the file is not a valid assembly.
name requires a dependent assembly which was compiled for a version of the runtime later than the currently loaded version.
This method only searches the current assembly instance. The name parameter includes the namespace but not the assembly. To search other assemblies for a type, use the Type.GetType(String) method overload, which can optionally include an assembly display name as part of the type name.
If the type has been forwarded to another assembly, it is still returned by this method. For information on type forwarding, see Type Forwarding in the Common Language Runtime.
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.