Files
mono/mcs/class/corlib/System.Runtime.InteropServices/_EventInfo.cs
T
Dick Porter a084d7f6f3 2007-05-02 Dick Porter <[email protected]>
* _ConstructorInfo.cs: 
	* _EventInfo.cs: 
	* _Exception.cs: 
	* _FieldInfo.cs: 
	* _MemberInfo.cs: 
	* _MethodBase.cs: 
	* _MethodInfo.cs: 
	* _PropertyInfo.cs: 
	* _Type.cs: 
	* UCOMIMoniker.cs: 
	* AutomationProxyAttribute.cs: 
	* BestFitMappingAttribute.cs: 
	* BStrWrapper.cs: 
	* ClassInterfaceAttribute.cs: 
	* CoClassAttribute.cs: 
	* ComAliasNameAttribute.cs: 
	* ComCompatibleVersionAttribute.cs: 
	* ComConversionLossAttribute.cs: 
	* ComDefaultInterfaceAttribute.cs: 
	* ComEventInterfaceAttribute.cs: 
	* COMException.cs: 
	* ComImportAttribute.cs: 
	* ComObjectInUseException.cs: 
	* ComRegisterFunctionAttribute.cs: 
	* ComUnregisterFunctionAttribute.cs: 
	* ComVisible.cs: 
	* CriticalHandle.cs: 
	* CurrencyWrapper.cs: 
	* DefaultCharSetAttribute.cs: 
	* DispatchWrapper.cs: 
	* DispIdAttribute.cs: 
	* ErrorWrapper.cs: 
	* ExtensibleClassFactory.cs: 
	* ExternalException.cs: 
	* Marshal.cs: 
	* SafeHandle.cs: 
	* StructLayoutAttribute.cs: 
	* TypeLibConverter.cs: 
	* ArrayWithOffset.cs: 
	* BIND_OPTS.cs: 
	* BINDPTR.cs: 
	* CONNECTDATA.cs: 
	* DISPPARAMS.cs: 
	* ELEMDESC.cs: 
	* EXCEPINFO.cs: 
	* PARAMDESC.cs: 
	* TYPELIBATTR.cs: 
	* VARDESC.cs: 
	* CALLCONV.cs: 
	* CallingConvention.cs: 
	* CharSet.cs: 
	* ClassInterfaceType.cs: 
	* ComInterfaceType.cs: 
	* ComMemberType.cs: 
	* DESCKIND.cs: 
	* ExporterEventKind.cs: 
	* PARAMFLAG.cs: 
	* RegistrationClassContext.cs: 
	* TYPEKIND.cs: 
	* TypeLibImporterFlags.cs: 
	* UnmanagedType.cs: 
	* VARFLAGS.cs: Update to 2.0 profile



svn path=/trunk/mcs/; revision=76579
2007-05-02 16:38:28 +00:00

81 lines
1.7 KiB
C#

//
// System.Runtime.InteropServices._EventInfo interface
//
// Author:
// Kazuki Oikawa ([email protected])
//
#if NET_1_1
using System;
using System.Reflection;
namespace System.Runtime.InteropServices
{
[CLSCompliant (false)]
[InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
[Guid ("9DE59C64-D889-35A1-B897-587D74469E5B")]
[TypeLibImportClass (typeof (EventInfo))]
#if NET_2_0
[ComVisible (true)]
#endif
public interface _EventInfo
{
void AddEventHandler (object target, Delegate handler);
bool Equals (object obj);
MethodInfo GetAddMethod ();
MethodInfo GetAddMethod (bool nonPublic);
object[] GetCustomAttributes (bool inherit);
object[] GetCustomAttributes (Type attributeType, bool inherit);
int GetHashCode ();
void GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
void GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo);
void GetTypeInfoCount (out uint pcTInfo);
void Invoke (uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams,
IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
MethodInfo GetRaiseMethod ();
MethodInfo GetRaiseMethod (bool nonPublic);
MethodInfo GetRemoveMethod ();
MethodInfo GetRemoveMethod (bool nonPublic);
Type GetType ();
bool IsDefined (Type attributeType, bool inherit);
void RemoveEventHandler (object target, Delegate handler);
string ToString ();
EventAttributes Attributes {get;}
Type DeclaringType {get;}
Type EventHandlerType {get;}
bool IsMulticast {get;}
bool IsSpecialName {get;}
MemberTypes MemberType {get;}
string Name {get;}
Type ReflectedType {get;}
}
}
#endif