Windows Dev Center

EventInfo.AddMethod Property

Gets the MethodInfo object for the AddEventHandler method of the event, including non-public methods.

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public virtual MethodInfo AddMethod { get; }

Property Value

Type: System.Reflection.MethodInfo
The MethodInfo object for the AddEventHandler method.

This property is the equivalent of calling the GetAddMethod(Boolean) with a value of true.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2015 Microsoft