MethodLookupModes Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum MethodLookupModes
type MethodLookupModes =
- Inheritance
-
MethodLookupModes
Fields
| Name | Value | Description |
|---|---|---|
| Public | 1 | A single-bit mask representing public access, which may contribute to the result of lookupModes. The value, 0x01, happens to be the same as the value of the public modifier bit. A Lookup with this lookup mode performs cross-module access check with respect to the lookup class and previous lookup class if present. Java reference for |
| Private | 2 | A single-bit mask representing private access, which may contribute to the result of lookupModes. The value, 0x02, happens to be the same as the value of the private modifier bit. Java reference for |
| Protected | 4 | A single-bit mask representing protected access, which may contribute to the result of lookupModes. The value, 0x04, happens to be the same as the value of the protected modifier bit. Java reference for |
| Package | 8 | A single-bit mask representing package access (default access), which may contribute to the result of lookupModes. The value is 0x08, which does not correspond meaningfully to any particular modifier bit. Java reference for |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.