Share via


TypeDelegator.GetConstructorImpl Metoda

Definice

Získá konstruktor, který implementoval TypeDelegator.

protected:
 override System::Reflection::ConstructorInfo ^ GetConstructorImpl(System::Reflection::BindingFlags bindingAttr, System::Reflection::Binder ^ binder, System::Reflection::CallingConventions callConvention, cli::array <Type ^> ^ types, cli::array <System::Reflection::ParameterModifier> ^ modifiers);
protected override System.Reflection.ConstructorInfo? GetConstructorImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Reflection.CallingConventions callConvention, Type[] types, System.Reflection.ParameterModifier[]? modifiers);
protected override System.Reflection.ConstructorInfo GetConstructorImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, Type[] types, System.Reflection.ParameterModifier[] modifiers);
override this.GetConstructorImpl : System.Reflection.BindingFlags * System.Reflection.Binder * System.Reflection.CallingConventions * Type[] * System.Reflection.ParameterModifier[] -> System.Reflection.ConstructorInfo
Protected Overrides Function GetConstructorImpl (bindingAttr As BindingFlags, binder As Binder, callConvention As CallingConventions, types As Type(), modifiers As ParameterModifier()) As ConstructorInfo

Parametry

bindingAttr
BindingFlags

Bitová maska, která ovlivňuje způsob, jakým se provádí hledání. Hodnota je kombinací nulových nebo více bitových příznaků z BindingFlags.

binder
Binder

Objekt, který umožňuje vazbu, vynucování typů argumentů, vyvolání členů a načtení MemberInfo objektů pomocí reflexe. Pokud binder je null, použije se výchozí pořadač.

callConvention
CallingConventions

Konvence volání.

types
Type[]

Pole typu Type obsahující seznam čísel parametrů, pořadí a typů. Typy nemohou být null; k vyhledání metody bez parametrů použijte vhodnou GetMethod metodu nebo prázdné pole.

modifiers
ParameterModifier[]

Pole typu ParameterModifier se stejnou délkou jako types pole, jehož prvky představují atributy přidružené k parametrům metody, která se má získat.

Návraty

Objekt ConstructorInfo pro metodu, která odpovídá zadaným kritériím, nebo null pokud nebyla nalezena shoda.

Poznámky

Parametr callConvention označuje konvenci volání vstupního bodu. Pokud není zadaná žádná konvence volání, použije se výchozí CallingConventions hodnota Standard .

Platí pro

Viz také