using System; using System.Runtime.InteropServices; namespace System.Reflection { /// Specifies flags that control binding and the way in which the search for members and types is conducted by reflection. // Token: 0x02000236 RID: 566 [Flags] [ComVisible(true)] [Serializable] public enum BindingFlags { /// Specifies no binding flag. // Token: 0x04000A05 RID: 2565 Default = 0, /// Specifies that the case of the member name should not be considered when binding. // Token: 0x04000A06 RID: 2566 IgnoreCase = 1, /// Specifies that only members declared at the level of the supplied type's hierarchy should be considered. Inherited members are not considered. // Token: 0x04000A07 RID: 2567 DeclaredOnly = 2, /// Specifies that instance members are to be included in the search. // Token: 0x04000A08 RID: 2568 Instance = 4, /// Specifies that static members are to be included in the search. // Token: 0x04000A09 RID: 2569 Static = 8, /// Specifies that public members are to be included in the search. // Token: 0x04000A0A RID: 2570 Public = 16, /// Specifies that non-public members are to be included in the search. // Token: 0x04000A0B RID: 2571 NonPublic = 32, /// Specifies that public and protected static members up the hierarchy should be returned. Private static members in inherited classes are not returned. Static members include fields, methods, events, and properties. Nested types are not returned. // Token: 0x04000A0C RID: 2572 FlattenHierarchy = 64, /// Specifies that a method is to be invoked. This must not be a constructor or a type initializer. // Token: 0x04000A0D RID: 2573 InvokeMethod = 256, /// Specifies that Reflection should create an instance of the specified type. Calls the constructor that matches the given arguments. The supplied member name is ignored. If the type of lookup is not specified, (Instance | Public) will apply. It is not possible to call a type initializer. // Token: 0x04000A0E RID: 2574 CreateInstance = 512, /// Specifies that the value of the specified field should be returned. // Token: 0x04000A0F RID: 2575 GetField = 1024, /// Specifies that the value of the specified field should be set. // Token: 0x04000A10 RID: 2576 SetField = 2048, /// Specifies that the value of the specified property should be returned. // Token: 0x04000A11 RID: 2577 GetProperty = 4096, /// Specifies that the value of the specified property should be set. For COM properties, specifying this binding flag is equivalent to specifying PutDispProperty and PutRefDispProperty. // Token: 0x04000A12 RID: 2578 SetProperty = 8192, /// Specifies that the PROPPUT member on a COM object should be invoked. PROPPUT specifies a property-setting function that uses a value. Use PutDispProperty if a property has both PROPPUT and PROPPUTREF and you need to distinguish which one is called. // Token: 0x04000A13 RID: 2579 PutDispProperty = 16384, /// Specifies that the PROPPUTREF member on a COM object should be invoked. PROPPUTREF specifies a property-setting function that uses a reference instead of a value. Use PutRefDispProperty if a property has both PROPPUT and PROPPUTREF and you need to distinguish which one is called. // Token: 0x04000A14 RID: 2580 PutRefDispProperty = 32768, /// Specifies that types of the supplied arguments must exactly match the types of the corresponding formal parameters. Reflection throws an exception if the caller supplies a non-null Binder object, since that implies that the caller is supplying BindToXXX implementations that will pick the appropriate method. // Token: 0x04000A15 RID: 2581 ExactBinding = 65536, /// Not implemented. // Token: 0x04000A16 RID: 2582 SuppressChangeType = 131072, /// Returns the set of members whose parameter count matches the number of supplied arguments. This binding flag is used for methods with parameters that have default values and methods with variable arguments (varargs). This flag should only be used with . // Token: 0x04000A17 RID: 2583 OptionalParamBinding = 262144, /// Used in COM interop to specify that the return value of the member can be ignored. // Token: 0x04000A18 RID: 2584 IgnoreReturn = 16777216 } }