共用方式為


Field.DeclaringClass Property

Definition

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

public 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

Implements

Attributes

Remarks

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

Java documentation for java.lang.reflect.Field.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