Activator Methods
Collapse the table of content
Expand the table of content

Activator Methods

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The Activator type exposes the following members.

Public method Static member CreateInstance(Type) Creates an instance of the specified type by using that type's default constructor.
Public method Static member CreateInstance(Type, Object[]) Creates an instance of the specified type by using the constructor that best matches the specified parameters.
Public method Static member CreateInstance<T>() Creates an instance of the type designated by the specified generic type parameter, using the parameterless constructor.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

© 2017 Microsoft