Share via


IRowSetMetaData.SetAutoIncrement(Int32, Boolean) Method

Definition

Sets whether the designated column is automatically numbered, The default is for a RowSet object's columns not to be automatically numbered.

[Android.Runtime.Register("setAutoIncrement", "(IZ)V", "GetSetAutoIncrement_IZHandler:Javax.Sql.IRowSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetAutoIncrement (int columnIndex, bool property);
[<Android.Runtime.Register("setAutoIncrement", "(IZ)V", "GetSetAutoIncrement_IZHandler:Javax.Sql.IRowSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetAutoIncrement : int * bool -> unit

Parameters

columnIndex
Int32

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

property
Boolean

true if the column is automatically numbered; false if it is not

Attributes

Exceptions

if a problem occurs accessing the database.

Remarks

Sets whether the designated column is automatically numbered, The default is for a RowSet object's columns not to be automatically numbered.

Java documentation for javax.sql.RowSetMetaData.setAutoIncrement(int, boolean).

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