ICallableStatement.GetObject 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
| 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
a <code>java.lang.Object</code> holding the OUT parameter value
- 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.
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
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
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
a <code>java.lang.Object</code> holding the OUT parameter value
- 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.