Share via


IRowSetMetaData.SetColumnType(Int32, Int32) Method

Definition

Sets the designated column's SQL type to the one given.

[Android.Runtime.Register("setColumnType", "(II)V", "GetSetColumnType_IIHandler:Javax.Sql.IRowSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetColumnType (int columnIndex, int SQLType);
[<Android.Runtime.Register("setColumnType", "(II)V", "GetSetColumnType_IIHandler:Javax.Sql.IRowSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetColumnType : int * int -> unit

Parameters

columnIndex
Int32

the first column is 1, the second is 2, ...

SQLType
Int32

the column's SQL type

Attributes

Exceptions

if a problem occurs accessing the database.

Remarks

Sets the designated column's SQL type to the one given.

Java documentation for javax.sql.RowSetMetaData.setColumnType(int, 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