ModuleBuilder.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);
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

검색을 제어하는 데 사용되는 비트 플래그의 BindingFlags 조합입니다.

binder
Binder

이 메서드와 Binder관련된 속성을 포함하는 구현하는 개체입니다.

callConvention
CallingConventions

메서드에 대한 호출 규칙입니다.

types
Type[]

메서드의 매개 변수 형식입니다.

modifiers
ParameterModifier[]

형식이 수정된 매개 변수 서명과 바인딩을 사용하는 데 사용되는 매개 변수 한정자의 배열입니다.

반품

모듈 수준에서 정의되고 지정된 조건과 일치하는 메서드입니다. 또는 null 이러한 메서드가 없는 경우

예외

name is null, types is null또는 의 types 요소가 .입니다 null.

설명

이 메서드는 상속된 메서드의 모든 오버로드에 대한 구현을 Module.GetMethod 제공합니다. 상속된 Module.GetMethod 메서드를 사용하여 모듈 수준에서 선언된 메서드를 가져옵니다. 모듈 수준 메서드는 메서드를 사용하여 내보낸 코드에 DefineGlobalMethod 정의됩니다.

Important

모듈 수준 메서드는 모듈에 대해 메서드가 CreateGlobalFunctions 호출될 때까지 검색할 수 없습니다.

적용 대상

추가 정보