共用方式為


Delegate.GetMethodImpl 方法

定義

取得由目前代理所代表的方法。

protected:
 virtual System::Reflection::MethodInfo ^ GetMethodImpl();
protected virtual System.Reflection.MethodInfo GetMethodImpl();
abstract member GetMethodImpl : unit -> System.Reflection.MethodInfo
override this.GetMethodImpl : unit -> System.Reflection.MethodInfo
Protected Overridable Function GetMethodImpl () As MethodInfo

傳回

MethodInfo A 描述目前代理所代表的方法。

例外狀況

呼叫者無法存取代理所代表的方法(例如,若該方法為私有)。

備註

此方法實現了該 Method 性質。

適用於

另請參閱