ICallableStatement.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(Int32) |
Retrieves the value of the designated JDBC |
GetArray(String) |
Retrieves the value of a JDBC |
GetArray(Int32)
Retrieves the value of the designated JDBC ARRAY
parameter as an
java.sql.Array
object in the Java programming language.
[Android.Runtime.Register("getArray", "(I)Ljava/sql/Array;", "GetGetArray_IHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.IArray? GetArray (int parameterIndex);
[<Android.Runtime.Register("getArray", "(I)Ljava/sql/Array;", "GetGetArray_IHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetArray : int -> Java.Sql.IArray
Parameters
- parameterIndex
- Int32
the first parameter is 1, the second is 2, and so on
Returns
the parameter value as an Array
object in
the Java programming language. If the value was SQL NULL
, the
value null
is returned.
- Attributes
Exceptions
if a database error occurs.
Remarks
Retrieves the value of the designated JDBC ARRAY
parameter as an java.sql.Array
object in the Java programming language.
Added in 1.2.
Java documentation for java.sql.CallableStatement.getArray(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(String)
Retrieves the value of a JDBC ARRAY
parameter as an
java.sql.Array
object in the Java programming language.
[Android.Runtime.Register("getArray", "(Ljava/lang/String;)Ljava/sql/Array;", "GetGetArray_Ljava_lang_String_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.IArray? GetArray (string? parameterName);
[<Android.Runtime.Register("getArray", "(Ljava/lang/String;)Ljava/sql/Array;", "GetGetArray_Ljava_lang_String_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetArray : string -> Java.Sql.IArray
Parameters
- parameterName
- String
the name of the parameter
Returns
the parameter value as an Array
object in
Java programming language. If the value was SQL NULL
,
the value null
is returned.
- Attributes
Exceptions
if there is a problem accessing the database.
Remarks
Retrieves the value of a JDBC ARRAY
parameter as an java.sql.Array
object in the Java programming language.
Added in 1.4.
Java documentation for java.sql.CallableStatement.getArray(java.lang.String)
.
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.