TypedArray.GetType(Int32) Method

Definition

Returns the type of attribute at the specified index.

[Android.Runtime.Register("getType", "(I)I", "GetGetType_IHandler")]
public virtual int GetType (int index);
[<Android.Runtime.Register("getType", "(I)I", "GetGetType_IHandler")>]
override this.GetType : int -> int

Parameters

index
Int32

Index of attribute whose type to retrieve.

Returns

Attribute type.

Attributes

Exceptions

if the TypedArray has already been recycled.

Remarks

Returns the type of attribute at the specified index.

Java documentation for android.content.res.TypedArray.getType(int).

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