Class.ComponentType Property

Definition

Returns the Class representing the component type of an array.

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

Property Value

the Class representing the component type of this class if this class is an array

Attributes

Remarks

Returns the Class representing the component type of an array. If this class does not represent an array class this method returns null.

Added in 1.1.

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

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