2 // System.Runtime.InteropServices._MemberInfo interface
5 // Kazuki Oikawa (kazuki@panicode.com)
11 using System.Reflection;
13 namespace System.Runtime.InteropServices
15 [CLSCompliant (false)]
16 [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
17 [Guid ("f7102fa9-cabb-3a74-a6da-b4567ef1b079")]
18 [TypeLibImportClass (typeof (MemberInfo))]
19 public interface _MemberInfo
21 bool Equals (object obj);
23 object[] GetCustomAttributes (bool inherit);
25 object[] GetCustomAttributes (Type attributeType, bool inherit);
31 bool IsDefined (Type attributeType, bool inherit);
35 Type DeclaringType {get;}
37 MemberTypes MemberType {get;}
41 Type ReflectedType {get;}
43 void GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
45 void GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo);
47 void GetTypeInfoCount (out uint pcTInfo);
49 void Invoke (uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams,
50 IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);