Compartilhar via


IRowSet.SetArray(Int32, IArray) Method

Definition

Sets the designated parameter in this RowSet object's command with the given Array value.

[Android.Runtime.Register("setArray", "(ILjava/sql/Array;)V", "GetSetArray_ILjava_sql_Array_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetArray (int i, Java.Sql.IArray? x);
[<Android.Runtime.Register("setArray", "(ILjava/sql/Array;)V", "GetSetArray_ILjava_sql_Array_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetArray : int * Java.Sql.IArray -> unit

Parameters

i
Int32

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

x
IArray

an object representing an SQL array

Attributes

Exceptions

if an error occurs accessing the database.

Remarks

Sets the designated parameter in this RowSet object's command with the given Array value. The driver will convert this to the ARRAY value that the Array object represents before sending it to the database.

Java documentation for javax.sql.RowSet.setArray(int, java.sql.Array).

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