Compartilhar via


IResultSet.UpdateArray Method

Definition

Overloads

UpdateArray(String, IArray)

Updates the designated column with a java.sql.Array value.

UpdateArray(Int32, IArray)

Updates the designated column with a java.sql.Array value.

UpdateArray(String, IArray)

Updates the designated column with a java.sql.Array value.

[Android.Runtime.Register("updateArray", "(Ljava/lang/String;Ljava/sql/Array;)V", "GetUpdateArray_Ljava_lang_String_Ljava_sql_Array_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateArray (string? columnLabel, Java.Sql.IArray? x);
[<Android.Runtime.Register("updateArray", "(Ljava/lang/String;Ljava/sql/Array;)V", "GetUpdateArray_Ljava_lang_String_Ljava_sql_Array_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateArray : string * Java.Sql.IArray -> unit

Parameters

columnLabel
String

the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column

x
IArray

the new column value

Attributes

Exceptions

if a database error happens.

Remarks

Updates the designated column with a java.sql.Array value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Added in 1.4.

Java documentation for java.sql.ResultSet.updateArray(java.lang.String, 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

UpdateArray(Int32, IArray)

Updates the designated column with a java.sql.Array value.

[Android.Runtime.Register("updateArray", "(ILjava/sql/Array;)V", "GetUpdateArray_ILjava_sql_Array_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateArray (int columnIndex, Java.Sql.IArray? x);
[<Android.Runtime.Register("updateArray", "(ILjava/sql/Array;)V", "GetUpdateArray_ILjava_sql_Array_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateArray : int * Java.Sql.IArray -> unit

Parameters

columnIndex
Int32

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

x
IArray

the new column value

Attributes

Exceptions

if a database error happens.

Remarks

Updates the designated column with a java.sql.Array value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Added in 1.4.

Java documentation for java.sql.ResultSet.updateArray(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