IResultSetMetaData.GetColumnTypeName(Int32) Method

Definition

Retrieves the designated column's database-specific type name.

[Android.Runtime.Register("getColumnTypeName", "(I)Ljava/lang/String;", "GetGetColumnTypeName_IHandler:Java.Sql.IResultSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public string? GetColumnTypeName (int column);
[<Android.Runtime.Register("getColumnTypeName", "(I)Ljava/lang/String;", "GetGetColumnTypeName_IHandler:Java.Sql.IResultSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetColumnTypeName : int -> string

Parameters

column
Int32

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

Returns

type name used by the database. If the column type is a user-defined type, then a fully-qualified type name is returned.

Attributes

Exceptions

if there is a database error.

Remarks

Retrieves the designated column's database-specific type name.

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