Mono Class Library: System.Reflection NamespaceSystem.Reflection.BindingFlags Enumeration |
|
This enumeration is used by reflection classes such as System.Reflection.Binder, System.Reflection.Module, and System.Reflection.ConstructorInfo . System.Reflection.BindingFlags values are used to control binding in methods in classes that find and invoke, create, get, and set members and types.
To specify multiple System.Reflection.BindingFlags values, use the bitwise 'OR' operator.
[Edit]
Member Name Description CreateInstance Specifies that an instance of a type will be created. [Edit] DeclaredOnly Specifies that only the members declared on a type will be searched when binding. When this field is specified, inherited members will not be searched. [Edit] Default Documentation for this section has not yet been entered. [Edit] ExactBinding Specifies that, when binding to a method, the types of the arguments passed to the binder are required to be the same as the types of the corresponding parameters in the method signature.
Note: Custom binders are allowed to ignore this flag. This flag is provided as a hint for custom binders.[Edit]FlattenHierarchy Documentation for this section has not yet been entered. [Edit] GetField Specifies that the value of a field will be returned. [Edit] GetProperty Specifies that the value of a property will be returned by invoking the get accessor of a System.Reflection.PropertyInfo instance that reflects that property. [Edit] IgnoreCase Specifies that a member name will be handled in a case-insensitive manner when binding. [Edit] IgnoreReturn Documentation for this section has not yet been entered. [Edit] Instance Specifies that instance members will be included in the binding search. [Edit] InvokeMethod Specifies that a method will be invoked. [Edit] NonPublic Specifies that non-public (i.e. family and private) members will be included in the binding search if the search has the permission required to bind non-public members. [Edit] OptionalParamBinding Specifies that the set of members whose parameter count matches the number of arguments supplied to the binding method are to be returned by the binding method. Note: This flag is used in conjunction with methods that have parameters with default values and with methods that have variable arguments.[Edit]Public Specifies that public members will be included in the binding search. [Edit] PutDispProperty Documentation for this section has not yet been entered. [Edit] PutRefDispProperty Documentation for this section has not yet been entered. [Edit] SetField Specifies that the value of a field will be set. [Edit] SetProperty Specifies that the value of a property will be set by invoking the set accessor of a System.Reflection.PropertyInfo instance that reflects that property. [Edit] Static Specifies that static members will be included in the binding search. [Edit] SuppressChangeType Specifies that the system will not change the types of parameters when binding with the default binder.
Note: Custom binders are allowed to ignore this flag. This flag is provided as a hint for custom binders.[Edit]
Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0