GetConstructor Method

Type.GetConstructor Method

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

Gets a specific constructor of the current Type.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Public method GetConstructor(Type[]) Searches for a public instance constructor whose parameters match the types in the specified array.
Public method GetConstructor(BindingFlags, Binder, Type[], ParameterModifier[]) Searches for a constructor whose parameters match the specified argument types and modifiers, using the specified binding constraints.

© 2017 Microsoft