Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Activator Methods

Activator Methods

The Activator type exposes the following members.

  Name Description
Public method Static member 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.
Public method Static member CreateComInstanceFrom(String, String, Byte[], AssemblyHashAlgorithm) Creates an instance of the COM object whose name is specified, using the named assembly file and the default constructor.
Public method Static member CreateInstance(ActivationContext) Creates an instance of the type designated by the specified ActivationContext object.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library CreateInstance(Type) Creates an instance of the specified type using that type's default constructor.
Public method Static member CreateInstance(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 method Static member CreateInstance(String, String) Creates an instance of the type whose name is specified, using the named assembly and default constructor.
Public method Static member CreateInstance(Type, Boolean) Creates an instance of the specified type using that type's default constructor.
Public method Static member Supported by Portable Class Library CreateInstance(Type, Object[]) Creates an instance of the specified type using the constructor that best matches the specified parameters.
Public method Static member 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.
Public method Static member CreateInstance(String, String, Object[]) Creates an instance of the type whose name is specified, using the named assembly and default constructor.
Public method Static member CreateInstance(Type, Object[], Object[]) Creates an instance of the specified type using the constructor that best matches the specified parameters.
Public method Static member CreateInstance(Type, BindingFlags, Binder, Object[], CultureInfo) Creates an instance of the specified type using the constructor that best matches the specified parameters.
Public method Static member CreateInstance(Type, BindingFlags, Binder, Object[], CultureInfo, Object[]) Creates an instance of the specified type using the constructor that best matches the specified parameters.
Public method Static member CreateInstance(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 method Static member CreateInstance(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 method Static member CreateInstance(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, 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.
Public method Static member CreateInstance(AppDomain, String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, 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.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library CreateInstance<T>() Creates an instance of the type designated by the specified generic type parameter, using the parameterless constructor.
Public method Static member CreateInstanceFrom(String, String) Creates an instance of the type whose name is specified, using the named assembly file and default constructor.
Public method Static member 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.
Public method Static member CreateInstanceFrom(String, String, Object[]) Creates an instance of the type whose name is specified, using the named assembly file and default constructor.
Public method Static member CreateInstanceFrom(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, 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.
Public method Static member CreateInstanceFrom(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 file and the constructor that best matches the specified parameters.
Public method Static member CreateInstanceFrom(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, 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.
Public method Static member CreateInstanceFrom(AppDomain, String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, 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.
Public method Supported by the XNA Framework Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Supported by the XNA Framework GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method Static member GetObject(Type, String) Creates a proxy for the well-known object indicated by the specified type and URL.
Public method Static member GetObject(Type, String, Object) Creates a proxy for the well-known object indicated by the specified type, URL, and channel data.
Public method Supported by the XNA Framework GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the XNA Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  Name Description
Explicit interface implemetation Private method _Activator.GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers.
Explicit interface implemetation Private method _Activator.GetTypeInfo Retrieves the type information for an object, which can then be used to get the type information for an interface.
Explicit interface implemetation Private method _Activator.GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1).
Explicit interface implemetation Private method _Activator.Invoke Provides access to properties and methods exposed by an object.
Top
Show:
© 2015 Microsoft