TypeDelegator.GetMethodImpl 메서드

정의

지정된 인수 형식 및 한정자와 일치하는 매개 변수를 가진 지정된 메서드를 지정된 바인딩 제약 조건과 지정된 호출 규칙으로 검색합니다.

protected:
 override System::Reflection::MethodInfo ^ GetMethodImpl(System::String ^ name, 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.MethodInfo? GetMethodImpl (string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Reflection.CallingConventions callConvention, Type[]? types, System.Reflection.ParameterModifier[]? modifiers);
protected override System.Reflection.MethodInfo GetMethodImpl (string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, Type[] types, System.Reflection.ParameterModifier[] modifiers);
override this.GetMethodImpl : string * System.Reflection.BindingFlags * System.Reflection.Binder * System.Reflection.CallingConventions * Type[] * System.Reflection.ParameterModifier[] -> System.Reflection.MethodInfo
Protected Overrides Function GetMethodImpl (name As String, bindingAttr As BindingFlags, binder As Binder, callConvention As CallingConventions, types As Type(), modifiers As ParameterModifier()) As MethodInfo

매개 변수

name
String

메서드 이름입니다.

bindingAttr
BindingFlags

검색 수행 방법에 영향을 주는 비트 마스크입니다. 이 값은 0이나 BindingFlags의 여러 비트 플래그의 조합으로 구성됩니다.

binder
Binder

리플렉션을 통해 바인딩, 인수 형식의 강제 변환, 멤버 호출 및 MemberInfo 개체의 검색을 가능하게 하는 개체입니다. bindernull이면 기본 바인더가 사용됩니다.

callConvention
CallingConventions

호출 규칙입니다.

types
Type[]

매개 변수 개수, 순서, 형식에 대한 목록이 들어 있는 형식 Type의 배열입니다. 형식은 null이 될 수 없습니다. 적당한 GetMethod 메서드나 빈 배열을 사용하여 매개 변수 없이 메서드를 검색하십시오.

modifiers
ParameterModifier[]

요소가 가져올 메서드의 매개 변수에 연관된 특성을 나타내는 types 배열과 길이가 같은 형식 ParameterModifier의 배열입니다.

반환

지정한 조건을 만족하는 구현 메서드에 대한 MethodInfoInfo 개체 또는 일치하는 내용이 없으면 null입니다.

설명

매개 변수는 callConvention 진입점에 대한 호출 규칙을 나타냅니다. 를 지정하지 CallingConventions 않으면 의 기본 CallingConventionsStandard 이 사용됩니다.

적용 대상

추가 정보