IRowSet.SetTimestamp Method

Definition

Overloads

SetTimestamp(Int32, Timestamp)

Sets the value of the specified parameter in the RowSet command to a supplied java.sql.Timestamp, converting it to an SQL TIMESTAMP value using the system default Calendar.

SetTimestamp(String, Timestamp)

Sets the value of the specified parameter in the RowSet command to a supplied java.sql.

SetTimestamp(Int32, Timestamp, Calendar)

Sets the value of the specified parameter in the RowSet command to a supplied java.sql.Timestamp, converting it to an SQL TIMESTAMP value using a supplied Calendar.

SetTimestamp(String, Timestamp, Calendar)

Sets the value of the specified parameter in the RowSet command to a supplied java.sql.

SetTimestamp(Int32, Timestamp)

Sets the value of the specified parameter in the RowSet command to a supplied java.sql.Timestamp, converting it to an SQL TIMESTAMP value using the system default Calendar.

[Android.Runtime.Register("setTimestamp", "(ILjava/sql/Timestamp;)V", "GetSetTimestamp_ILjava_sql_Timestamp_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetTimestamp (int parameterIndex, Java.Sql.Timestamp x);
abstract member SetTimestamp : int * Java.Sql.Timestamp -> unit

Parameters

parameterIndex
Int32

the index of the parameter to set; the first parameter's index is 1.

Attributes

Exceptions

if an error occurs accessing the database.

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.

See also

Applies to

SetTimestamp(String, Timestamp)

Sets the value of the specified parameter in the RowSet command to a supplied java.sql.

[Android.Runtime.Register("setTimestamp", "(Ljava/lang/String;Ljava/sql/Timestamp;)V", "GetSetTimestamp_Ljava_lang_String_Ljava_sql_Timestamp_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=9)]
public void SetTimestamp (string parameterName, Java.Sql.Timestamp x);
abstract member SetTimestamp : string * Java.Sql.Timestamp -> unit

Parameters

parameterName
String

name for parameter

Attributes

Exceptions

if an error occurs accessing the database.

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

SetTimestamp(Int32, Timestamp, Calendar)

Sets the value of the specified parameter in the RowSet command to a supplied java.sql.Timestamp, converting it to an SQL TIMESTAMP value using a supplied Calendar.

[Android.Runtime.Register("setTimestamp", "(ILjava/sql/Timestamp;Ljava/util/Calendar;)V", "GetSetTimestamp_ILjava_sql_Timestamp_Ljava_util_Calendar_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetTimestamp (int parameterIndex, Java.Sql.Timestamp x, Java.Util.Calendar cal);
abstract member SetTimestamp : int * Java.Sql.Timestamp * Java.Util.Calendar -> unit

Parameters

parameterIndex
Int32

the index of the parameter to set; the first parameter's index is 1.

cal
Calendar
Attributes

Exceptions

if an error occurs accessing the database.

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.

See also

Applies to

SetTimestamp(String, Timestamp, Calendar)

Sets the value of the specified parameter in the RowSet command to a supplied java.sql.

[Android.Runtime.Register("setTimestamp", "(Ljava/lang/String;Ljava/sql/Timestamp;Ljava/util/Calendar;)V", "GetSetTimestamp_Ljava_lang_String_Ljava_sql_Timestamp_Ljava_util_Calendar_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=9)]
public void SetTimestamp (string parameterName, Java.Sql.Timestamp x, Java.Util.Calendar cal);
abstract member SetTimestamp : string * Java.Sql.Timestamp * Java.Util.Calendar -> unit

Parameters

parameterName
String

name for parameter

cal
Calendar
Attributes

Exceptions

if an error occurs accessing the database.

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