Condividi tramite


IRowSetMetaData.SetColumnTypeName(Int32, String) Method

Definition

Sets the designated column's type name that is specific to the data source, if any, to the given String.

[Android.Runtime.Register("setColumnTypeName", "(ILjava/lang/String;)V", "GetSetColumnTypeName_ILjava_lang_String_Handler:Javax.Sql.IRowSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetColumnTypeName (int columnIndex, string? typeName);
[<Android.Runtime.Register("setColumnTypeName", "(ILjava/lang/String;)V", "GetSetColumnTypeName_ILjava_lang_String_Handler:Javax.Sql.IRowSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetColumnTypeName : int * string -> unit

Parameters

columnIndex
Int32

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

typeName
String

data source specific type name.

Attributes

Exceptions

if a problem occurs accessing the database.

Remarks

Sets the designated column's type name that is specific to the data source, if any, to the given String.

Java documentation for javax.sql.RowSetMetaData.setColumnTypeName(int, java.lang.String).

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