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

検査するデリゲート。

戻り値

メソッドを表すオブジェクト。

例外

delnullです。

呼び出し元には、デリゲートによって表されるメソッドへのアクセスはありません (たとえば、メソッドがプライベートである)。

適用対象

こちらもご覧ください