Android Guides | Samples

Java.Lang.Class.ComponentType Property

Returns a Class object which represents the component type if this class represents an array type.

Syntax

[get: Android.Runtime.Register("getComponentType", "()Ljava/lang/Class;", "GetGetComponentTypeHandler")]
public Class ComponentType { get; }

Remarks

Returns a Class object which represents the component type if this class represents an array type. Returns null if this class does not represent an array type. The component type of an array type is the type of the elements of the array.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1