2 // System.Runtime.InteropServices._MemberInfo interface
5 // Kazuki Oikawa (kazuki@panicode.com)
9 using System.Reflection;
11 namespace System.Runtime.InteropServices
13 [CLSCompliant (false)]
14 [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
15 [Guid ("f7102fa9-cabb-3a74-a6da-b4567ef1b079")]
17 [TypeLibImportClass (typeof (MemberInfo))]
20 public interface _MemberInfo
22 bool Equals (object other);
24 object[] GetCustomAttributes (bool inherit);
26 object[] GetCustomAttributes (Type attributeType, bool inherit);
32 bool IsDefined (Type attributeType, bool inherit);
36 Type DeclaringType {get;}
38 MemberTypes MemberType {get;}
42 Type ReflectedType {get;}
44 void GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
46 void GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo);
48 void GetTypeInfoCount (out uint pcTInfo);
50 void Invoke (uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams,
51 IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);