Share via


IRowSetMetaData.SetNullable(Int32, Int32) Method

Definition

Sets whether the designated column's value can be set to NULL.

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

Parameters

columnIndex
Int32

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

property
Int32

one of the following constants: ResultSetMetaData.columnNoNulls, ResultSetMetaData.columnNullable, or ResultSetMetaData.columnNullableUnknown

Attributes

Exceptions

if a problem occurs accessing the database.

Remarks

Sets whether the designated column's value can be set to NULL. The default is ResultSetMetaData.columnNullableUnknown

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