This documentation is archived and is not being maintained.
Activator Methods
Visual Studio 2010
The Activator type exposes the following members.
| Name | Description | |
|---|---|---|
|
CreateComInstanceFrom(String, String) | Creates an instance of the COM object whose name is specified, using the named assembly file and the constructor that best matches the specified parameters. |
|
CreateComInstanceFrom(String, String, array<Byte>, AssemblyHashAlgorithm) | Creates an instance of the COM object whose name is specified, using the named assembly file and the default constructor. |
|
CreateInstance(ActivationContext) | Creates an instance of the type designated by the specified ActivationContext object. |
|
CreateInstance(Type) | Creates an instance of the specified type using that type's default constructor. |
|
CreateInstance(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. |
|
CreateInstance(String, String) | Creates an instance of the type whose name is specified, using the named assembly and default constructor. |
|
CreateInstance(Type, Boolean) | Creates an instance of the specified type using that type's default constructor. |
|
CreateInstance(Type, array<Object>) | Creates an instance of the specified type using the constructor that best matches the specified parameters. |
|
CreateInstance(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. |
|
CreateInstance(String, String, array<Object>) | Creates an instance of the type whose name is specified, using the named assembly and default constructor. |
|
CreateInstance(Type, array<Object>, array<Object>) | Creates an instance of the specified type using the constructor that best matches the specified parameters. |
|
CreateInstance(Type, BindingFlags, Binder, array<Object>, CultureInfo) | Creates an instance of the specified type using the constructor that best matches the specified parameters. |
|
CreateInstance(Type, BindingFlags, Binder, array<Object>, CultureInfo, array<Object>) | Creates an instance of the specified type using the constructor that best matches the specified parameters. |
|
CreateInstance(String, String, Boolean, BindingFlags, Binder, array<Object>, CultureInfo, array<Object>) | Creates an instance of the type whose name is specified, using the named assembly and the constructor that best matches the specified parameters. |
|
CreateInstance(AppDomain, String, String, Boolean, BindingFlags, Binder, array<Object>, CultureInfo, array<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. |
|
CreateInstance(String, String, Boolean, BindingFlags, Binder, array<Object>, CultureInfo, array<Object>, Evidence) | Obsolete. Creates an instance of the type whose name is specified, using the named assembly and the constructor that best matches the specified parameters. |
|
CreateInstance(AppDomain, String, String, Boolean, BindingFlags, Binder, array<Object>, CultureInfo, array<Object>, Evidence) | Obsolete. 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. |
|
CreateInstance<T>() | Creates an instance of the type designated by the specified generic type parameter, using the parameterless constructor . |
|
CreateInstanceFrom(String, String) | Creates an instance of the type whose name is specified, using the named assembly file and default constructor. |
|
CreateInstanceFrom(AppDomain, String, String) | Creates an instance of the type whose name is specified in the specified remote domain, using the named assembly file and default constructor. |
|
CreateInstanceFrom(String, String, array<Object>) | Creates an instance of the type whose name is specified, using the named assembly file and default constructor. |
|
CreateInstanceFrom(String, String, Boolean, BindingFlags, Binder, array<Object>, CultureInfo, array<Object>) | Creates an instance of the type whose name is specified, using the named assembly file and the constructor that best matches the specified parameters. |
|
CreateInstanceFrom(AppDomain, String, String, Boolean, BindingFlags, Binder, array<Object>, CultureInfo, array<Object>) | Creates an instance of the type whose name is specified in the specified remote domain, using the named assembly file and the constructor that best matches the specified parameters. |
|
CreateInstanceFrom(String, String, Boolean, BindingFlags, Binder, array<Object>, CultureInfo, array<Object>, Evidence) | Obsolete. Creates an instance of the type whose name is specified, using the named assembly file and the constructor that best matches the specified parameters. |
|
CreateInstanceFrom(AppDomain, String, String, Boolean, BindingFlags, Binder, array<Object>, CultureInfo, array<Object>, Evidence) | Obsolete. Creates an instance of the type whose name is specified in the specified remote domain, using the named assembly file and the constructor that best matches the specified parameters. |
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetObject(Type, String) | Creates a proxy for the well-known object indicated by the specified type and URL. |
|
GetObject(Type, String, Object) | Creates a proxy for the well-known object indicated by the specified type, URL, and channel data. |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
_Activator::GetIDsOfNames | Maps a set of names to a corresponding set of dispatch identifiers. |
|
_Activator::GetTypeInfo | Retrieves the type information for an object, which can then be used to get the type information for an interface. |
|
_Activator::GetTypeInfoCount | Retrieves the number of type information interfaces that an object provides (either 0 or 1). |
|
_Activator::Invoke | Provides access to properties and methods exposed by an object. |
Show: