Class.EnclosingMethod Class.EnclosingMethod Property


Returns the enclosing Method of this Class, if it is an anonymous or local/automatic class; otherwise null.

[get: Android.Runtime.Register("getEnclosingMethod", "()Ljava/lang/reflect/Method;", "GetGetEnclosingMethodHandler")]
public Java.Lang.Reflect.Method EnclosingMethod { get; }
member this.EnclosingMethod : Java.Lang.Reflect.Method

Property Value


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.

Applies to