Share via


IRowSetMetaData.SetColumnName(Int32, String) Method

Definition

Sets the name of the designated column to the given String.

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

Parameters

columnIndex
Int32

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

columnName
String

the designated column's name

Attributes

Exceptions

if a problem occurs accessing the database.

Remarks

Sets the name of the designated column to the given String.

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