Dil

Executable.DeclaringClass Property

Definition

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

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

Property Value

an object representing the declaring class of the underlying member

Implements

Attributes

Remarks

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

Java reference for java.lang.reflect.Executable.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