TypeDelegator.GetConstructorImpl Метод

Определение

Возвращает конструктор, при помощи которого был реализован объект 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

Параметры

bindingAttr
BindingFlags

Битовая маска, влияющая на способ выполнения поиска. Значение является сочетанием битовых флагов из перечисления BindingFlags.

binder
Binder

Объект, позволяющий осуществлять привязку, приведение типов аргументов, вызов элементов, а также поиск объектов MemberInfo с помощью отражения. Если значение параметра binder равно null, используется связыватель по умолчанию.

callConvention
CallingConventions

Соглашения о вызовах.

types
Type[]

Массив объектов типа Type, содержащий число, порядок и типы параметров. Типы не могут иметь значение null; для поиска метода без параметров следует использовать соответствующий метод GetMethod или пустой массив.

modifiers
ParameterModifier[]

Массив типа ParameterModifier, имеющий такую же длину, как и массив types, элементы которого представляют атрибуты, соответствующие параметрам получаемого метода.

Возвращаемое значение

ConstructorInfo

Объект ConstructorInfo для метода, который соответствует заданным критериям, или значение null, если совпадение не найдено.

Комментарии

Параметр callConvention указывает соглашение о вызовах для точки входа. Если соглашение о вызовах Standard не указано, используется значение по умолчаниюCallingConventions.

Применяется к

См. также раздел