2 // System.Runtime.InteropServices._ConstructorInfo interface
5 // Kazuki Oikawa (kazuki@panicode.com)
11 using System
.Globalization
;
12 using System
.Reflection
;
14 namespace System
.Runtime
.InteropServices
16 [CLSCompliant (false)]
17 [InterfaceType (ComInterfaceType
.InterfaceIsIUnknown
)]
18 [Guid ("E9A19478-9646-3679-9B10-8411AE1FD57D")]
19 [TypeLibImportClass (typeof (ConstructorInfo
))]
21 public interface _ConstructorInfo
23 bool Equals (object other
);
25 object[] GetCustomAttributes (bool inherit
);
27 object[] GetCustomAttributes (Type attributeType
, bool inherit
);
31 MethodImplAttributes
GetMethodImplementationFlags ();
33 ParameterInfo
[] GetParameters ();
35 void GetIDsOfNames ([In
] ref Guid riid
, IntPtr rgszNames
, uint cNames
, uint lcid
, IntPtr rgDispId
);
37 void GetTypeInfo (uint iTInfo
, uint lcid
, IntPtr ppTInfo
);
39 void GetTypeInfoCount (out uint pcTInfo
);
41 void Invoke (uint dispIdMember
, [In
] ref Guid riid
, uint lcid
, short wFlags
, IntPtr pDispParams
,
42 IntPtr pVarResult
, IntPtr pExcepInfo
, IntPtr puArgErr
);
46 object Invoke_5 (object[] parameters
);
48 object Invoke_3 (object obj
, object[] parameters
);
50 object Invoke_4 (BindingFlags invokeAttr
, Binder binder
, object[] parameters
, CultureInfo culture
);
52 object Invoke_2 (object obj
, BindingFlags invokeAttr
, Binder binder
, object[] parameters
, CultureInfo culture
);
54 bool IsDefined (Type attributeType
, bool inherit
);
58 MethodAttributes Attributes {get;}
60 CallingConventions CallingConvention {get;}
62 Type DeclaringType {get;}
64 bool IsAbstract {get;}
66 bool IsAssembly {get;}
68 bool IsConstructor {get;}
72 bool IsFamilyAndAssembly {get;}
74 bool IsFamilyOrAssembly {get;}
78 bool IsHideBySig {get;}
84 bool IsSpecialName {get;}
90 MemberTypes MemberType {get;}
92 RuntimeMethodHandle MethodHandle {get;}
96 Type ReflectedType {get;}