_EventInfo::GetAddMethod Method (Boolean)
Provides COM objects with version-independent access to the GetAddMethod method.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- nonPublic
-
Type:
System::Boolean
true to return non-public methods; otherwise, false.
Return Value
Type: System.Reflection::MethodInfo^A MethodInfo object representing the method used to add an event-handler delegate to the event source.
This method is for access to managed classes from unmanaged code and should not be called from managed code.
The GetAddMethod method retrieves the MethodInfo object for the AddEventHandler method of the event and specifies whether to return non-public methods
Available since 1.1