IRowSet.SetType(Int32) Method

Definition

Sets the type of this RowSet object to the given type.

[Android.Runtime.Register("setType", "(I)V", "GetSetType_IHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetType (int type);
[<Android.Runtime.Register("setType", "(I)V", "GetSetType_IHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetType : int -> unit

Parameters

type
Int32

one of the ResultSet constants specifying a type: ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE, or ResultSet.TYPE_SCROLL_SENSITIVE

Attributes

Exceptions

if an error occurs accessing the database.

Remarks

Sets the type of this RowSet object to the given type. This method is used to change the type of a rowset, which is by default read-only and non-scrollable.

Java documentation for javax.sql.RowSet.setType(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