Share via


TypeDelegator.GetConstructorImpl Yöntem

Tanım

uygulamasını uygulayan oluşturucuyu TypeDelegatoralır.

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

Parametreler

bindingAttr
BindingFlags

Aramanın nasıl yürütüldüğünü etkileyen bit maskesi. değeri, 'den BindingFlagssıfır veya daha fazla bit bayrağının birleşimidir.

binder
Binder

Bağlamayı, bağımsız değişken türlerini zorlamayı, üyeleri çağırmayı ve yansıma kullanarak nesnelerin alınmasını MemberInfo sağlayan bir nesne. ise bindernull, varsayılan bağlayıcı kullanılır.

callConvention
CallingConventions

Çağırma kuralları.

types
Type[]

Parametre numarasının, sırasının ve türlerinin listesini içeren tür Type dizisi. Türler olamaz null; parametresiz bir yöntemi aramak için uygun GetMethod bir yöntem veya boş bir dizi kullanın.

modifiers
ParameterModifier[]

Öğeleri, alınacak yöntemin parametreleriyle ilişkili öznitelikleri temsil eden diziyle aynı uzunluğa types sahip bir tür ParameterModifier dizisi.

Döndürülenler

ConstructorInfo Belirtilen ölçütle eşleşen yöntemin nesnesi veya null eşleşme bulunamazsa.

Açıklamalar

callConvention parametresi, giriş noktası için çağırma kuralını gösterir. Hiçbir çağırma kuralı belirtilmezse, varsayılan CallingConventions değeri Standard kullanılır.

Şunlara uygulanır

Ayrıca bkz.