mscorlib(4.0.0.0) API with additions
_ConstructorInfo.cs
2 using System.Reflection;
3 
5 {
7  [Guid("E9A19478-9646-3679-9B10-8411AE1FD57D")]
8  [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
9  [CLSCompliant(false)]
10  [TypeLibImportClass(typeof(ConstructorInfo))]
11  [ComVisible(true)]
12  public interface _ConstructorInfo
13  {
17  {
18  get;
19  }
20 
23  string Name
24  {
25  get;
26  }
27 
31  {
32  get;
33  }
34 
38  {
39  get;
40  }
41 
45  {
46  get;
47  }
48 
52  {
53  get;
54  }
55 
59  {
60  get;
61  }
62 
66  bool IsPublic
67  {
68  get;
69  }
70 
74  bool IsPrivate
75  {
76  get;
77  }
78 
82  bool IsFamily
83  {
84  get;
85  }
86 
90  bool IsAssembly
91  {
92  get;
93  }
94 
99  {
100  get;
101  }
102 
106  bool IsFamilyOrAssembly
107  {
108  get;
109  }
110 
114  bool IsStatic
115  {
116  get;
117  }
118 
122  bool IsFinal
123  {
124  get;
125  }
126 
130  bool IsVirtual
131  {
132  get;
133  }
134 
138  bool IsHideBySig
139  {
140  get;
141  }
142 
146  bool IsAbstract
147  {
148  get;
149  }
150 
154  bool IsSpecialName
155  {
156  get;
157  }
158 
162  bool IsConstructor
163  {
164  get;
165  }
166 
169  void GetTypeInfoCount(out uint pcTInfo);
170 
175  void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo);
176 
183  void GetIDsOfNames([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
184 
194  void Invoke(uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
195 
198  new string ToString();
199 
204  new bool Equals(object other);
205 
208  new int GetHashCode();
209 
212  new Type GetType();
213 
218  object[] GetCustomAttributes(Type attributeType, bool inherit);
219 
223  object[] GetCustomAttributes(bool inherit);
224 
230  bool IsDefined(Type attributeType, bool inherit);
231 
235 
239 
247  object Invoke_2(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture);
248 
253  object Invoke_3(object obj, object[] parameters);
254 
261  object Invoke_4(BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture);
262 
266  object Invoke_5(object[] parameters);
267  }
268 }
object Invoke_5(object[] parameters)
Provides COM objects with version-independent access to the M:System.Reflection.ConstructorInfo....
Discovers the attributes of a parameter and provides access to parameter metadata.
MethodAttributes
Specifies flags for method attributes. These flags are defined in the corhdr.h file.
bool IsHideBySig
Provides COM objects with version-independent access to the P:System.Reflection.MethodBase....
MethodImplAttributes
Specifies flags for the attributes of a method implementation.
bool IsAssembly
Provides COM objects with version-independent access to the P:System.Reflection.MethodBase....
Discovers the attributes of a class constructor and provides access to constructor metadata.
bool IsFamily
Provides COM objects with version-independent access to the P:System.Reflection.MethodBase....
object Invoke_4(BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
Provides COM objects with version-independent access to the M:System.Reflection.ConstructorInfo....
BindingFlags
Specifies flags that control binding and the way in which the search for members and types is conduct...
Definition: BindingFlags.cs:10
Definition: __Canon.cs:3
bool IsPrivate
Provides COM objects with version-independent access to the P:System.Reflection.MethodBase....
MemberTypes MemberType
Provides COM objects with version-independent access to the P:System.Reflection.ConstructorInfo....
bool IsPublic
Provides COM objects with version-independent access to the P:System.Reflection.MethodBase....
CallingConvention
Specifies the calling convention required to call methods implemented in unmanaged code.
bool IsDefined(Type attributeType, bool inherit)
Provides COM objects with version-independent access to the M:System.Reflection.MemberInfo....
bool IsFamilyOrAssembly
Provides COM objects with version-independent access to the P:System.Reflection.MethodBase....
bool IsStatic
Provides COM objects with version-independent access to the P:System.Reflection.MethodBase....
string Name
Provides COM objects with version-independent access to the P:System.Reflection.MemberInfo....
CallingConventions
Defines the valid calling conventions for a method.
new bool Equals(object other)
Provides COM objects with version-independent access to the M:System.Object.Equals(System....
MethodImplAttributes GetMethodImplementationFlags()
Provides COM objects with version-independent access to the M:System.Reflection.MethodBase....
Represents a globally unique identifier (GUID).To browse the .NET Framework source code for this type...
Definition: Guid.cs:14
T:System.RuntimeMethodHandle is a handle to the internal metadata representation of a method.
Type ReflectedType
Provides COM objects with version-independent access to the P:System.Reflection.MemberInfo....
new Type GetType()
Provides COM objects with version-independent access to the M:System.Object.GetType method.
bool IsFamilyAndAssembly
Provides COM objects with version-independent access to the P:System.Reflection.MethodBase....
void GetIDsOfNames([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
Maps a set of names to a corresponding set of dispatch identifiers.
A platform-specific type that is used to represent a pointer or a handle.
Definition: IntPtr.cs:14
bool IsConstructor
Provides COM objects with version-independent access to the P:System.Reflection.MethodBase....
Represents type declarations: class types, interface types, array types, value types,...
Definition: Type.cs:18
object Invoke_2(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
Provides COM objects with version-independent access to the M:System.Reflection.MethodBase....
object Invoke_3(object obj, object[] parameters)
Provides COM objects with version-independent access to the M:System.Reflection.MethodBase....
Selects a member from a list of candidates, and performs type conversion from actual argument type to...
Definition: Binder.cs:10
Type DeclaringType
Provides COM objects with version-independent access to the P:System.Reflection.MemberInfo....
RuntimeMethodHandle MethodHandle
Provides COM objects with version-independent access to the P:System.Reflection.MethodBase....
ComInterfaceType
Identifies how to expose an interface to COM.
Exposes the public members of the T:System.Reflection.ConstructorInfo class to unmanaged code.
MethodAttributes Attributes
Provides COM objects with version-independent access to the P:System.Reflection.MethodBase....
object [] GetCustomAttributes(Type attributeType, bool inherit)
Provides COM objects with version-independent access to the M:System.Reflection.Emit....
bool IsFinal
Provides COM objects with version-independent access to the P:System.Reflection.MethodBase....
void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo)
Retrieves the type information for an object, which can then be used to get the type information for ...
void GetTypeInfoCount(out uint pcTInfo)
Retrieves the number of type information interfaces that an object provides (either 0 or 1).
ParameterInfo [] GetParameters()
Provides COM objects with version-independent access to the M:System.Reflection.MethodBase....
Provides information about a specific culture (called a locale for unmanaged code development)....
Definition: CultureInfo.cs:16
bool IsAbstract
Provides COM objects with version-independent access to the P:System.Reflection.MethodBase....
MemberTypes
Marks each type of member that is defined as a derived class of T:System.Reflection....
Definition: MemberTypes.cs:9
bool IsSpecialName
Provides COM objects with version-independent access to the P:System.Reflection.MethodBase....
new string ToString()
Provides COM objects with version-independent access to the M:System.Object.ToString method.
new int GetHashCode()
Provides COM objects with version-independent access to the M:System.Object.GetHashCode method.
void Invoke(uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr)
Provides access to properties and methods exposed by an object.
bool IsVirtual
Provides COM objects with version-independent access to the P:System.Reflection.MethodBase....