Megosztás a következőn keresztül:


IResultSetMetaData.GetColumnType(Int32) Method

Definition

Retrieves the designated column's SQL type.

[Android.Runtime.Register("getColumnType", "(I)I", "GetGetColumnType_IHandler:Java.Sql.IResultSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int GetColumnType (int column);
[<Android.Runtime.Register("getColumnType", "(I)I", "GetGetColumnType_IHandler:Java.Sql.IResultSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetColumnType : int -> int

Parameters

column
Int32

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

Returns

SQL type from java.sql.Types

Attributes

Exceptions

if there is a database error.

Remarks

Retrieves the designated column's SQL type.

Java documentation for java.sql.ResultSetMetaData.getColumnType(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

See also