다음을 통해 공유


EnumBuilder.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

검색을 수행하는 방법을 지정하는 열거형 값의 비트 조합입니다.

-또는-

null반환할 Default.

binder
Binder

속성 집합을 정의하고 바인딩을 사용하도록 설정하는 개체로, 오버로드된 메서드 선택, 인수 형식 강제 변환 및 리플렉션을 통해 멤버 호출을 포함할 수 있습니다.

-또는-

DefaultBinder사용하는 null 참조(Visual Basic에서는Nothing)입니다.

callConvention
CallingConventions

인수의 순서 및 레이아웃, 반환 값 전달 방법, 인수에 사용되는 레지스터 및 스택을 정리하는 프로세스와 관련하여 사용할 규칙 집합을 지정하는 개체입니다.

types
Type[]

가져올 메서드에 대한 매개 변수의 수, 순서 및 형식을 나타내는 Type 개체의 배열입니다.

-또는-

매개 변수를 사용하지 않는 메서드를 가져오는 Type 형식의 빈 배열(즉, Type[] types = new Type[0])입니다.

-또는-

null. types null인수가 일치하지 않습니다.

modifiers
ParameterModifier[]

types 배열의 해당 요소와 연결된 특성을 나타내는 ParameterModifier 개체의 배열입니다. 기본 바인더는 이 매개 변수를 처리하지 않습니다.

반환

지정된 요구 사항과 일치하는 메서드를 나타내는 개체입니다(있는 경우). 그렇지 않으면 null.

적용 대상