2010-05-27 Jb Evain <jbevain@novell.com>
[mcs.git] / class / corlib / System.Runtime.InteropServices / _MemberInfo.cs
blob4e745e55ccfdbe77940df54281b2d012365fddc5
1 //
2 // System.Runtime.InteropServices._MemberInfo interface
3 //
4 // Author:
5 // Kazuki Oikawa (kazuki@panicode.com)
6 //
8 #if NET_1_1
10 using System;
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 [ComVisible (true)]
20 public interface _MemberInfo
22 bool Equals (object other);
24 object[] GetCustomAttributes (bool inherit);
26 object[] GetCustomAttributes (Type attributeType, bool inherit);
28 int GetHashCode ();
30 Type GetType ();
32 bool IsDefined (Type attributeType, bool inherit);
34 string ToString ();
36 Type DeclaringType {get;}
38 MemberTypes MemberType {get;}
40 string Name {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);
54 #endif