Type.GetConstructor Method

July 28, 2014

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.

  NameDescription
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.
Top

Show:
© 2014 Microsoft