AddMethod Property
Collapse the table of content
Expand the table of content

EventInfo.AddMethod Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

'Declaration
Public Overridable ReadOnly Property AddMethod As MethodInfo

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:
© 2017 Microsoft