Share via


Type.GetConstructor Method (, , , array<Type[], array<[])

Namespace:  System.Reflection.Mock
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

Syntax

'Declaration
Public Function GetConstructor ( _
    bindingAttr As BindingFlags, _
    binder As Binder, _
    callConvention As CallingConventions, _
    types As Type(), _
    modifiers As ParameterModifier() _
) As ConstructorInfo
'Usage
Dim instance As Type
Dim bindingAttr As BindingFlags
Dim binder As Binder
Dim callConvention As CallingConventions
Dim types As Type()
Dim modifiers As ParameterModifier()
Dim returnValue As ConstructorInfo

returnValue = instance.GetConstructor(bindingAttr, _
    binder, callConvention, types, modifiers)
public ConstructorInfo GetConstructor(
    BindingFlags bindingAttr,
    Binder binder,
    CallingConventions callConvention,
    Type[] types,
    ParameterModifier[] modifiers
)
public:
ConstructorInfo^ GetConstructor(
    BindingFlags bindingAttr, 
    Binder^ binder, 
    CallingConventions callConvention, 
    array<Type^>^ types, 
    array<ParameterModifier>^ modifiers
)
member GetConstructor : 
        bindingAttr:BindingFlags * 
        binder:Binder * 
        callConvention:CallingConventions * 
        types:Type[] * 
        modifiers:ParameterModifier[] -> ConstructorInfo 
public function GetConstructor(
    bindingAttr : BindingFlags, 
    binder : Binder, 
    callConvention : CallingConventions, 
    types : Type[], 
    modifiers : ParameterModifier[]
) : ConstructorInfo

Parameters

  • bindingAttr
    Type: BindingFlags
  • binder
    Type: Binder
  • callConvention
    Type: CallingConventions
  • modifiers
    Type: array<ParameterModifier[]

Return Value

Type: System.Reflection.Mock.ConstructorInfo

.NET Framework Security

See Also

Reference

Type Class

Type Members

GetConstructor Overload

System.Reflection.Mock Namespace