Skip to main content
.NET Framework Class Library
Assembly..::.CreateInstance Method





Locates a type from this assembly and creates an instance of it using the system activator.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List
 NameDescription
Public methodCreateInstance(String)Locates the specified type from this assembly and creates an instance of it using the system activator, using case-sensitive search.
Public methodCreateInstance(String, Boolean)Locates the specified type from this assembly and creates an instance of it using the system activator, with optional case-sensitive search.
Public methodCreateInstance(String, Boolean, BindingFlags, Binder, array<Object>[]()[], CultureInfo, array<Object>[]()[])Locates the specified type from this assembly and creates an instance of it using the system activator, with optional case-sensitive search and having the specified culture, arguments, and binding and activation attributes.
Top
Microsoft is conducting an online survey to understand your opinion of the MSDN Web site. If you choose to participate, the online survey will be presented to you when you leave the MSDN Web site.

Would you like to participate?