Udostępnij za pośrednictwem


IRowSetMetaData.SetSearchable(Int32, Boolean) Method

Definition

Sets whether the designated column can be used in a where clause.

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

Parameters

columnIndex
Int32

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

property
Boolean

true if the column can be used in a WHERE clause; false if it cannot

Attributes

Exceptions

if a problem occurs accessing the database.

Remarks

Sets whether the designated column can be used in a where clause. The default is false.

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