Compartir a través de


IRowSetMetaData.SetTableName(Int32, String) Method

Definition

Sets the designated column's table name, if any, to the given String.

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

Parameters

columnIndex
Int32

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

tableName
String

the column's table name

Attributes

Exceptions

if a problem occurs accessing the database.

Remarks

Sets the designated column's table name, if any, to the given String.

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