ICallableStatement.GetObject Method

Definition

Overloads

GetObject(Int32, IDictionary<String,Class>)

Returns an object representing the value of OUT parameter <code>parameterIndex</code> and uses <code>map</code> for the custom mapping of the parameter value.

GetObject(Int32)

Retrieves the value of the designated parameter as an <code>Object</code> in the Java programming language.

GetObject(String)

Retrieves the value of a parameter as an <code>Object</code> in the Java programming language.

GetObject(String, IDictionary<String,Class>)

Returns an object representing the value of OUT parameter <code>parameterName</code> and uses <code>map</code> for the custom mapping of the parameter value.

GetObject(Int32, IDictionary<String,Class>)

Returns an object representing the value of OUT parameter <code>parameterIndex</code> and uses <code>map</code> for the custom mapping of the parameter value.

[Android.Runtime.Register("getObject", "(ILjava/util/Map;)Ljava/lang/Object;", "GetGetObject_ILjava_util_Map_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object? GetObject (int parameterIndex, System.Collections.Generic.IDictionary<string,Java.Lang.Class>? map);
[<Android.Runtime.Register("getObject", "(ILjava/util/Map;)Ljava/lang/Object;", "GetGetObject_ILjava_util_Map_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetObject : int * System.Collections.Generic.IDictionary<string, Java.Lang.Class> -> Java.Lang.Object

Parameters

parameterIndex
Int32

the first parameter is 1, the second is 2, and so on

map
IDictionary<String,Class>

the mapping from SQL type names to Java classes

Returns

Object

a <code>java.lang.Object</code> holding the OUT parameter value

Attributes

Remarks

Java documentation for java.sql.CallableStatement.getObject(int, 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

GetObject(Int32)

Retrieves the value of the designated parameter as an <code>Object</code> in the Java programming language.

[Android.Runtime.Register("getObject", "(I)Ljava/lang/Object;", "GetGetObject_IHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object? GetObject (int parameterIndex);
[<Android.Runtime.Register("getObject", "(I)Ljava/lang/Object;", "GetGetObject_IHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetObject : int -> Java.Lang.Object

Parameters

parameterIndex
Int32

the first parameter is 1, the second is 2, and so on

Returns

Object

A <code>java.lang.Object</code> holding the OUT parameter value

Attributes

Exceptions

if a database error occurs.

Remarks

Java documentation for java.sql.CallableStatement.getObject(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

GetObject(String)

Retrieves the value of a parameter as an <code>Object</code> in the Java programming language.

[Android.Runtime.Register("getObject", "(Ljava/lang/String;)Ljava/lang/Object;", "GetGetObject_Ljava_lang_String_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object? GetObject (string? parameterName);
[<Android.Runtime.Register("getObject", "(Ljava/lang/String;)Ljava/lang/Object;", "GetGetObject_Ljava_lang_String_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetObject : string -> Java.Lang.Object

Parameters

parameterName
String

the name of the parameter

Returns

Object

A <code>java.lang.Object</code> holding the OUT parameter value.

Attributes

Exceptions

if there is a problem accessing the database.

Remarks

Java documentation for java.sql.CallableStatement.getObject(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.

Applies to

GetObject(String, IDictionary<String,Class>)

Returns an object representing the value of OUT parameter <code>parameterName</code> and uses <code>map</code> for the custom mapping of the parameter value.

[Android.Runtime.Register("getObject", "(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/Object;", "GetGetObject_Ljava_lang_String_Ljava_util_Map_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object? GetObject (string? parameterName, System.Collections.Generic.IDictionary<string,Java.Lang.Class>? map);
[<Android.Runtime.Register("getObject", "(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/Object;", "GetGetObject_Ljava_lang_String_Ljava_util_Map_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetObject : string * System.Collections.Generic.IDictionary<string, Java.Lang.Class> -> Java.Lang.Object

Parameters

parameterName
String

the name of the parameter

map
IDictionary<String,Class>

the mapping from SQL type names to Java classes

Returns

Object

a <code>java.lang.Object</code> holding the OUT parameter value

Attributes

Remarks

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