ICallableStatement.SetDate Method

Definition

Overloads

SetDate(String, Date)

Sets the designated parameter to the given <code>java.

SetDate(String, Date, Calendar)

Sets the designated parameter to the given <code>java.

SetDate(String, Date)

Sets the designated parameter to the given <code>java.

[Android.Runtime.Register("setDate", "(Ljava/lang/String;Ljava/sql/Date;)V", "GetSetDate_Ljava_lang_String_Ljava_sql_Date_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetDate (string? parameterName, Java.Sql.Date? x);
[<Android.Runtime.Register("setDate", "(Ljava/lang/String;Ljava/sql/Date;)V", "GetSetDate_Ljava_lang_String_Ljava_sql_Date_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetDate : string * Java.Sql.Date -> unit

Parameters

parameterName
String

the name of the parameter

x
Date

the parameter value

Attributes

Exceptions

if a database error occurs.

Remarks

Java documentation for java.sql.CallableStatement.setDate(java.lang.String, java.sql.Date).

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

SetDate(String, Date, Calendar)

Sets the designated parameter to the given <code>java.

[Android.Runtime.Register("setDate", "(Ljava/lang/String;Ljava/sql/Date;Ljava/util/Calendar;)V", "GetSetDate_Ljava_lang_String_Ljava_sql_Date_Ljava_util_Calendar_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetDate (string? parameterName, Java.Sql.Date? x, Java.Util.Calendar? cal);
[<Android.Runtime.Register("setDate", "(Ljava/lang/String;Ljava/sql/Date;Ljava/util/Calendar;)V", "GetSetDate_Ljava_lang_String_Ljava_sql_Date_Ljava_util_Calendar_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetDate : string * Java.Sql.Date * Java.Util.Calendar -> unit

Parameters

parameterName
String

the name of the parameter

x
Date

the parameter value

cal
Calendar

the <code>Calendar</code> object the driver will use to construct the date

Attributes

Exceptions

if a database error occurs.

Remarks

Java documentation for java.sql.CallableStatement.setDate(java.lang.String, java.sql.Date, java.util.Calendar).

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.

See also

Applies to