mscorlib(4.0.0.0) API with additions
IReflect.cs
3 
4 namespace System.Reflection
5 {
7  [Guid("AFBF15E5-C37C-11d2-B88E-00A0C9B471B8")]
8  [ComVisible(true)]
9  public interface IReflect
10  {
14  {
15  get;
16  }
17 
26  MethodInfo GetMethod(string name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers);
27 
33  MethodInfo GetMethod(string name, BindingFlags bindingAttr);
34 
38  MethodInfo[] GetMethods(BindingFlags bindingAttr);
39 
45  FieldInfo GetField(string name, BindingFlags bindingAttr);
46 
50  FieldInfo[] GetFields(BindingFlags bindingAttr);
51 
57  PropertyInfo GetProperty(string name, BindingFlags bindingAttr);
58 
67  PropertyInfo GetProperty(string name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers);
68 
73 
78  MemberInfo[] GetMember(string name, BindingFlags bindingAttr);
79 
83  MemberInfo[] GetMembers(BindingFlags bindingAttr);
84 
109  object InvokeMember(string name, BindingFlags invokeAttr, Binder binder, object target, object[] args, ParameterModifier[] modifiers, CultureInfo culture, string[] namedParameters);
110  }
111 }
Obtains information about the attributes of a member and provides access to member metadata.
Definition: MemberInfo.cs:14
MemberInfo [] GetMember(string name, BindingFlags bindingAttr)
Retrieves an array of T:System.Reflection.MemberInfo objects corresponding to all public members or t...
Discovers the attributes of a method and provides access to method metadata.
Definition: MethodInfo.cs:13
MemberInfo [] GetMembers(BindingFlags bindingAttr)
Retrieves an array of T:System.Reflection.MemberInfo objects that correspond either to all public mem...
Discovers the attributes of a field and provides access to field metadata.
Definition: FieldInfo.cs:15
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
object InvokeMember(string name, BindingFlags invokeAttr, Binder binder, object target, object[] args, ParameterModifier[] modifiers, CultureInfo culture, string[] namedParameters)
Invokes a specified member.
MethodInfo GetMethod(string name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers)
Retrieves a T:System.Reflection.MethodInfo object corresponding to a specified method,...
MethodInfo [] GetMethods(BindingFlags bindingAttr)
Retrieves an array of T:System.Reflection.MethodInfo objects with all public methods or all methods o...
Attaches a modifier to parameters so that binding can work with parameter signatures in which the typ...
PropertyInfo [] GetProperties(BindingFlags bindingAttr)
Retrieves an array of T:System.Reflection.PropertyInfo objects corresponding to all public properties...
Represents type declarations: class types, interface types, array types, value types,...
Definition: Type.cs:18
Selects a member from a list of candidates, and performs type conversion from actual argument type to...
Definition: Binder.cs:10
FieldInfo [] GetFields(BindingFlags bindingAttr)
Returns an array of T:System.Reflection.FieldInfo objects that correspond to all fields of the curren...
Discovers the attributes of a property and provides access to property metadata.
Definition: PropertyInfo.cs:15
Type UnderlyingSystemType
Gets the underlying type that represents the T:System.Reflection.IReflect object.
Definition: IReflect.cs:14
Provides information about a specific culture (called a locale for unmanaged code development)....
Definition: CultureInfo.cs:16
FieldInfo GetField(string name, BindingFlags bindingAttr)
Returns the T:System.Reflection.FieldInfo object that corresponds to the specified field and binding ...
Interoperates with the IDispatch interface.
Definition: IReflect.cs:9
PropertyInfo GetProperty(string name, BindingFlags bindingAttr)
Retrieves a T:System.Reflection.PropertyInfo object corresponding to a specified property under speci...