2 // System.Runtime.InteropServices._EventInfo interface
\r
5 // Kazuki Oikawa (kazuki@panicode.com)
\r
11 using System.Reflection;
\r
13 namespace System.Runtime.InteropServices
\r
15 [CLSCompliant (false)]
\r
16 [InterfaceType (ComInterfaceType.InterfaceIsDual)]
\r
17 [Guid ("9DE59C64-D889-35A1-B897-587D74469E5B")]
\r
18 public interface _EventInfo
\r
20 void AddEventHandler (object target, Delegate handler);
\r
22 bool Equals (object obj);
\r
24 MethodInfo GetAddMethod ();
\r
26 MethodInfo GetAddMethod (bool nonPublic);
\r
28 object[] GetCustomAttributes (bool inherit);
\r
30 object[] GetCustomAttributes (Type attributeType, bool inherit);
\r
34 MethodInfo GetRaiseMethod ();
\r
36 MethodInfo GetRaiseMethod (bool nonPublic);
\r
38 MethodInfo GetRemoveMethod ();
\r
40 MethodInfo GetRemoveMethod (bool nonPublic);
\r
44 bool IsDefined (Type attributeType, bool inherit);
\r
46 void RemoveEventHandler (object target, Delegate handler);
\r
50 EventAttributes Attributes {get;}
\r
52 Type DeclaringType {get;}
\r
54 Type EventHandlerType {get;}
\r
56 bool IsMulticast {get;}
\r
58 bool IsSpecialName {get;}
\r
60 MemberTypes MemberType {get;}
\r
64 Type ReflectedType {get;}
\r