This documentation is archived and is not being maintained.

Type::GetConstructor Method

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(array<Type>) Searches for a public instance constructor whose parameters match the types in the specified array.
Public method GetConstructor(BindingFlags, Binder, array<Type>, array<ParameterModifier>) Searches for a constructor whose parameters match the specified argument types and modifiers, using the specified binding constraints.
Public method GetConstructor(BindingFlags, Binder, CallingConventions, array<Type>, array<ParameterModifier>) Searches for a constructor whose parameters match the specified argument types and modifiers, using the specified binding constraints and the specified calling convention.
Top
Show: