See Also: AccessibleObject
public class AccessibleObject : Object, IAnnotatedElement, IDisposable
AccessibleObject is the superclass of all member reflection classes (Field, Constructor, Method). AccessibleObject provides the ability to toggle a flag controlling access checks for these objects. By default, accessing a member (for example, setting a field or invoking a method) checks the validity of the access (for example, invoking a private method from outside the defining class is prohibited) and throws IllegalAccessException if the operation is not permitted. If the accessible flag is set to true, these checks are omitted. This allows privileged code, such as Java object serialization, object inspectors, and debuggers to have complete access to objects.
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1
The members of Java.Lang.Reflect.AccessibleObject are listed below.
See Also: Object
Returns, for this element, an array containing all annotations (including inherited annotations).
Returns, for this element, all annotations that are explicitly declared (not inherited).
Attempts to set the accessible flag for all objects in objects.