Class.InvokeComponentType Method

Definition

Returns the component type of this Class, if it describes an array type, or null otherwise.

[Android.Runtime.Register("componentType", "()Ljava/lang/Class;", "", ApiSince=34)]
public Java.Lang.Class? InvokeComponentType ();
[<Android.Runtime.Register("componentType", "()Ljava/lang/Class;", "", ApiSince=34)>]
member this.InvokeComponentType : unit -> Java.Lang.Class

Returns

a Class describing the component type, or null if this Class does not describe an array type

Attributes

Remarks

Returns the component type of this Class, if it describes an array type, or null otherwise.

Added in 12.

Java documentation for java.lang.Class.componentType().

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