TypeDelegator.GetConstructorImpl Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the constructor that implemented the TypeDelegator.

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Protected Overrides Function GetConstructorImpl ( _
    bindingAttr As BindingFlags, _
    binder As Binder, _
    callConvention As CallingConventions, _
    types As Type(), _
    modifiers As ParameterModifier() _
) As ConstructorInfo
protected override ConstructorInfo GetConstructorImpl(
    BindingFlags bindingAttr,
    Binder binder,
    CallingConventions callConvention,
    Type[] types,
    ParameterModifier[] modifiers
)

Parameters

  • binder
    Type: System.Reflection.Binder
    An object that enables the binding, coercion of argument types, invocation of members, and retrieval of MemberInfo objects using reflection. If binder is nulla null reference (Nothing in Visual Basic), the default binder is used.
  • types
    Type: array<System.Type[]
    An array of type Type containing a list of the parameter number, order, and types. Types cannot be nulla null reference (Nothing in Visual Basic); use an appropriate GetMethod method or an empty array to search for a method without parameters.
  • modifiers
    Type: array<System.Reflection.ParameterModifier[]
    An array of type ParameterModifier having the same length as the types array, whose elements represent the attributes associated with the parameters of the method to get.

Return Value

Type: System.Reflection.ConstructorInfo
A ConstructorInfo object for the method that matches the specified criteria, or nulla null reference (Nothing in Visual Basic) if a match cannot be found.

Remarks

The callConvention parameter indicates the calling convention for the entry point. If no calling convention is specified, a default CallingConventions value of Standard is used.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.