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
))]
20 public interface _ConstructorInfo
22 bool Equals (object obj
);
24 object[] GetCustomAttributes (bool inherit
);
26 object[] GetCustomAttributes (Type attributeType
, bool inherit
);
30 MethodImplAttributes
GetMethodImplementationFlags ();
32 ParameterInfo
[] GetParameters ();
34 void GetIDsOfNames ([In
] ref Guid riid
, IntPtr rgszNames
, uint cNames
, uint lcid
, IntPtr rgDispId
);
36 void GetTypeInfo (uint iTInfo
, uint lcid
, IntPtr ppTInfo
);
38 void GetTypeInfoCount (out uint pcTInfo
);
40 void Invoke (uint dispIdMember
, [In
] ref Guid riid
, uint lcid
, short wFlags
, IntPtr pDispParams
,
41 IntPtr pVarResult
, IntPtr pExcepInfo
, IntPtr puArgErr
);
45 object Invoke_5 (object[] parameters
);
47 object Invoke_3 (object obj
, object[] parameters
);
49 object Invoke_4 (BindingFlags invokeAttr
, Binder binder
, object[] parameters
, CultureInfo culture
);
51 object Invoke_2 (object obj
, BindingFlags invokeAttr
, Binder binder
, object[] parameters
, CultureInfo culture
);
53 bool IsDefined (Type attributeType
, bool inherit
);
57 MethodAttributes Attributes {get;}
59 CallingConventions CallingConvention {get;}
61 Type DeclaringType {get;}
63 bool IsAbstract {get;}
65 bool IsAssembly {get;}
67 bool IsConstructor {get;}
71 bool IsFamilyAndAssembly {get;}
73 bool IsFamilyOrAssembly {get;}
77 bool IsHideBySig {get;}
83 bool IsSpecialName {get;}
89 MemberTypes MemberType {get;}
91 RuntimeMethodHandle MethodHandle {get;}
95 Type ReflectedType {get;}