IArray.GetArray Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| GetArray(IDictionary<String,Class>) |
Retrieves the contents of the SQL <code>ARRAY</code> value designated by this <code>Array</code> object. |
| GetArray(Int64, Int32) |
Retrieves a slice of the SQL <code>ARRAY</code> value designated by this <code>Array</code> object, beginning with the specified <code>index</code> and containing up to <code>count</code> successive elements of the SQL array. |
| GetArray(Int64, Int32, IDictionary<String,Class>) |
Retreives a slice of the SQL <code>ARRAY</code> value designated by this <code>Array</code> object, beginning with the specified <code>index</code> and containing up to <code>count</code> successive elements of the SQL array. |
GetArray(IDictionary<String,Class>)
Retrieves the contents of the SQL <code>ARRAY</code> value designated by this <code>Array</code> object.
[Android.Runtime.Register("getArray", "(Ljava/util/Map;)Ljava/lang/Object;", "GetGetArray_Ljava_util_Map_Handler:Java.Sql.IArrayInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object? GetArray (System.Collections.Generic.IDictionary<string,Java.Lang.Class>? map);
[<Android.Runtime.Register("getArray", "(Ljava/util/Map;)Ljava/lang/Object;", "GetGetArray_Ljava_util_Map_Handler:Java.Sql.IArrayInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetArray : System.Collections.Generic.IDictionary<string, Java.Lang.Class> -> Java.Lang.Object
Parameters
- map
- IDictionary<String,Class>
a <code>java.util.Map</code> object that contains mappings of SQL type names to classes in the Java programming language
Returns
an array in the Java programming language that contains the ordered elements of the SQL array designated by this object
- Attributes
Remarks
Java documentation for java.sql.Array.getArray(java.util.Map<java.lang.String, java.lang.Class<?>>).
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
GetArray(Int64, Int32)
Retrieves a slice of the SQL <code>ARRAY</code> value designated by this <code>Array</code> object, beginning with the specified <code>index</code> and containing up to <code>count</code> successive elements of the SQL array.
[Android.Runtime.Register("getArray", "(JI)Ljava/lang/Object;", "GetGetArray_JIHandler:Java.Sql.IArrayInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object? GetArray (long index, int count);
[<Android.Runtime.Register("getArray", "(JI)Ljava/lang/Object;", "GetGetArray_JIHandler:Java.Sql.IArrayInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetArray : int64 * int -> Java.Lang.Object
Parameters
- index
- Int64
the array index of the first element to retrieve; the first element is at index 1
- count
- Int32
the number of successive SQL array elements to retrieve
Returns
an array containing up to <code>count</code> consecutive elements of the SQL array, beginning with element <code>index</code>
- Attributes
Exceptions
if there is a database error.
Remarks
Java documentation for java.sql.Array.getArray(long, 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
GetArray(Int64, Int32, IDictionary<String,Class>)
Retreives a slice of the SQL <code>ARRAY</code> value designated by this <code>Array</code> object, beginning with the specified <code>index</code> and containing up to <code>count</code> successive elements of the SQL array.
[Android.Runtime.Register("getArray", "(JILjava/util/Map;)Ljava/lang/Object;", "GetGetArray_JILjava_util_Map_Handler:Java.Sql.IArrayInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object? GetArray (long index, int count, System.Collections.Generic.IDictionary<string,Java.Lang.Class>? map);
[<Android.Runtime.Register("getArray", "(JILjava/util/Map;)Ljava/lang/Object;", "GetGetArray_JILjava_util_Map_Handler:Java.Sql.IArrayInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetArray : int64 * int * System.Collections.Generic.IDictionary<string, Java.Lang.Class> -> Java.Lang.Object
Parameters
- index
- Int64
the array index of the first element to retrieve; the first element is at index 1
- count
- Int32
the number of successive SQL array elements to retrieve
- map
- IDictionary<String,Class>
a <code>java.util.Map</code> object that contains SQL type names and the classes in the Java programming language to which they are mapped
Returns
an array containing up to <code>count</code> consecutive elements of the SQL <code>ARRAY</code> value designated by this <code>Array</code> object, beginning with element <code>index</code>
- Attributes
Remarks
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.