Click or drag to resize
Activator Class
Contains methods to create types of objects locally or remotely, or obtain references to existing remote objects. This class cannot be inherited.
Inheritance Hierarchy
SystemObject
  SystemActivator

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public sealed class Activator : _Activator

The Activator type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateInstance(ActivationContext)
Creates an instance of the type designated by the specified ActivationContext object.
Public methodStatic memberCreateInstance(Type)
Creates an instance of the specified type using that type's default constructor.
Public methodStatic memberCreateInstance(ActivationContext, 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, 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, Object)
Creates an instance of the type whose name is specified, using the named assembly and default constructor.
Public methodStatic memberCreateInstance(Type, Object, Object)
Creates an instance of the specified type using the constructor that best matches the specified parameters.
Public methodStatic memberCreateInstance(Type, BindingFlags, Binder, Object, CultureInfo)
Creates an instance of the specified type using the constructor that best matches the specified parameters.
Public methodStatic memberCreateInstance(Type, BindingFlags, Binder, Object, CultureInfo, 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, Object, CultureInfo, Object)
Creates an instance of the type whose name is specified, using the named assembly and the constructor that best matches the specified parameters.
Public methodStatic memberCreateInstance(AppDomain, String, String, Boolean, BindingFlags, Binder, Object, CultureInfo, Object)
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(String, String, Boolean, BindingFlags, Binder, Object, CultureInfo, 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.
Public methodStatic memberCreateInstance(AppDomain, String, String, Boolean, BindingFlags, Binder, Object, CultureInfo, 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 memberCreateInstanceT
Creates an instance of the type designated by the specified generic type parameter, using the parameterless constructor .
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also