RecordComponent.DeclaringRecord Property

Definition

Returns the record class which declares this record component.

public Java.Lang.Class DeclaringRecord { [Android.Runtime.Register("getDeclaringRecord", "()Ljava/lang/Class;", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getDeclaringRecord", "()Ljava/lang/Class;", "", ApiSince=34)>]
member this.DeclaringRecord : Java.Lang.Class

Property Value

The record class declaring this record component.

Attributes

Remarks

Returns the record class which declares this record component.

Java documentation for java.lang.reflect.RecordComponent.getDeclaringRecord().

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