Method.DeclaringClass Property

Definition

Returns the Class object representing the class or interface that declares the executable represented by this object.

public override Java.Lang.Class DeclaringClass { [Android.Runtime.Register("getDeclaringClass", "()Ljava/lang/Class;", "")] get; }
[<get: Android.Runtime.Register("getDeclaringClass", "()Ljava/lang/Class;", "")>]
member this.DeclaringClass : Java.Lang.Class

Property Value

the Class object representing the class or interface that declares the executable represented by this object

Implements

Attributes

Remarks

Returns the Class object representing the class or interface that declares the executable represented by this object.

Java documentation for java.lang.reflect.Method.getDeclaringClass().

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