RuntimeReflectionExtensions.GetMethodInfo(Delegate) 메서드

정의

지정된 대리자가 나타내는 메서드를 나타내는 개체를 가져옵니다.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Reflection::MethodInfo ^ GetMethodInfo(Delegate ^ del);
public static System.Reflection.MethodInfo GetMethodInfo (this Delegate del);
public static System.Reflection.MethodInfo? GetMethodInfo (this Delegate del);
static member GetMethodInfo : Delegate -> System.Reflection.MethodInfo
<Extension()>
Public Function GetMethodInfo (del As Delegate) As MethodInfo

매개 변수

del
Delegate

검사할 대리자입니다.

반환

MethodInfo

메서드를 나타내는 개체입니다.

예외

del이(가) null인 경우

호출자에게 대리자가 나타내는 메서드에 대한 액세스 권한이 없는 경우(예를 들어 메서드가 private인 경우)

적용 대상

추가 정보