EventInfo.AddMethod 屬性

定義

取得事件之 MethodInfo 方法 (包括非公用方法) 的 AddEventHandler(Object, Delegate) 物件。

public:
 virtual property System::Reflection::MethodInfo ^ AddMethod { System::Reflection::MethodInfo ^ get(); };
public virtual System.Reflection.MethodInfo AddMethod { get; }
public virtual System.Reflection.MethodInfo? AddMethod { get; }
member this.AddMethod : System.Reflection.MethodInfo
Public Overridable ReadOnly Property AddMethod As MethodInfo

屬性值

MethodInfo 方法的 AddEventHandler(Object, Delegate) 物件。

備註

這個屬性相當於使用 值 true 呼叫 GetAddMethod

適用於