Android.Database.ICursor.GetType Method
Returns data type of the given column's value.

Syntax

[Android.Runtime.Register("getType", "(I)I", "GetGetType_IHandler:Android.Database.ICursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[return:Android.Runtime.GeneratedEnum]
public FieldType GetType (int columnIndex)

Parameters

columnIndex
the zero-based index of the target column.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns data type of the given column's value. The preferred type of the column is returned but the data may be converted to other types as documented in the get-type methods such as ICursor.GetInt(int), ICursor.GetFloat(int) etc.

Returned column types are

[Android Documentation]

Requirements

Namespace: Android.Database
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11