Language

IArray.ResultSet Property

Definition

Returns a ResultSet object which holds the entries of the SQL ARRAY associated with this array.

public Java.Sql.IResultSet? ResultSet { [Android.Runtime.Register("getResultSet", "()Ljava/sql/ResultSet;", "GetGetResultSetHandler:Java.Sql.IArrayInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("getResultSet", "()Ljava/sql/ResultSet;", "GetGetResultSetHandler:Java.Sql.IArrayInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.ResultSet : Java.Sql.IResultSet

Property Value

a ResultSet object containing one row for each of the elements in the array designated by this Array object, with the rows in ascending order based on the indices.

Attributes

Exceptions

if there is a database error.

Remarks

Retrieves a result set that contains the elements of the SQL ARRAY value designated by this Array object. If appropriate, the elements of the array are mapped using the connection's type map; otherwise, the standard mapping is used. The result set contains one row for each array element, with two columns in each row. The second column stores the element value; the first column stores the index into the array for that element (with the first array element being at index 1). The rows are in ascending order corresponding to the order of the indices.

Java reference for java.sql.Array.getResultSet.

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