EventInfo.AddMethod Właściwość

Definicja

MethodInfo Pobiera obiekt dla AddEventHandler(Object, Delegate) metody zdarzenia, w tym metody niepublizowanych.

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

Wartość właściwości

Obiekt MethodInfoAddEventHandler(Object, Delegate) metody .

Uwagi

Ta właściwość jest odpowiednikiem wywołania GetAddMethod elementu z wartością true.

Dotyczy