Assembly.CreateInstance Method (String, Boolean)
Assembly: mscorlib (in mscorlib.dll)
public final function CreateInstance ( typeName : String, ignoreCase : boolean ) : Object
The Type.FullName of the type to locate.
true to ignore the case of the type name; otherwise, false.
Return ValueAn instance of Object representing the type, with culture, arguments, binder, and activation attributes set to a null reference (Nothing in Visual Basic), and BindingFlags set to Public or Instance, or a null reference (Nothing in Visual Basic) if typeName is not found.
typeName is an empty string ("") or a string beginning with a null character.
The current assembly was loaded into the reflection-only context.
No matching constructor was found.
typeName is a null reference (Nothing in Visual Basic).
typeName requires a dependent assembly that could not be found.
typeName requires a dependent assembly that was found but could not be loaded.
The current assembly was loaded into the reflection-only context, and typeName requires a dependent assembly that was not preloaded.
typeName requires a dependent assembly, but the file is not a valid assembly.
typeName requires a dependent assembly which was compiled for a version of the runtime later than the currently loaded version.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.