Activator..::.CreateInstance Method
This page is specific to:.NET Framework Version:1.12.03.03.5Silverlight 34.0
.NET Framework Class Library
Activator..::.CreateInstance Method

Creates an instance of the specified type using the constructor that best matches the specified parameters.

Overload List

  NameDescription
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCreateInstance<(Of <(T>)>)()()()Creates an instance of the type designated by the specified generic type parameter, using the parameterless constructor.
Public methodStatic memberCreateInstance(ActivationContext)Creates an instance of the type designated by the specified ActivationContext object.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCreateInstance(Type)Creates an instance of the specified type using that type's default constructor.
Public methodStatic memberCreateInstance(AppDomain, String, String, Boolean, BindingFlags, Binder, array<Object>[]()[], CultureInfo, array<Object>[]()[], Evidence)Creates an instance of the type whose name is specified in the specified remote domain, using the named assembly and the constructor that best matches the specified parameters.
Public methodStatic memberCreateInstance(ActivationContext, array<String>[]()[])Creates an instance of the type that is designated by the specified ActivationContext object and activated with the specified custom activation data.
Public methodStatic memberCreateInstance(String, String)Creates an instance of the type whose name is specified, using the named assembly and default constructor.
Public methodStatic memberCreateInstance(Type, Boolean)Creates an instance of the specified type using that type's default constructor.
Public methodStatic memberCreateInstance(Type, array<Object>[]()[])Creates an instance of the specified type using the constructor that best matches the specified parameters.
Public methodStatic memberCreateInstance(AppDomain, String, String)Creates an instance of the type whose name is specified in the specified remote domain, using the named assembly and default constructor.
Public methodStatic memberCreateInstance(String, String, array<Object>[]()[])Creates an instance of the type whose name is specified, using the named assembly and default constructor.
Public methodStatic memberCreateInstance(Type, array<Object>[]()[], array<Object>[]()[])Creates an instance of the specified type using the constructor that best matches the specified parameters.
Public methodStatic memberCreateInstance(Type, BindingFlags, Binder, array<Object>[]()[], CultureInfo)Creates an instance of the specified type using the constructor that best matches the specified parameters.
Public methodStatic memberCreateInstance(Type, BindingFlags, Binder, array<Object>[]()[], CultureInfo, array<Object>[]()[])Creates an instance of the specified type using the constructor that best matches the specified parameters.
Public methodStatic memberCreateInstance(String, String, Boolean, BindingFlags, Binder, array<Object>[]()[], CultureInfo, array<Object>[]()[], Evidence)Creates an instance of the type whose name is specified, using the named assembly and the constructor that best matches the specified parameters.
Top
See Also

Reference

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View