Megosztás a következőn keresztül:


ISQLOutput.WriteTimestamp(Timestamp) Method

Definition

Writes the next attribute to the stream as a java.

[Android.Runtime.Register("writeTimestamp", "(Ljava/sql/Timestamp;)V", "GetWriteTimestamp_Ljava_sql_Timestamp_Handler:Java.Sql.ISQLOutputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void WriteTimestamp (Java.Sql.Timestamp? x);
[<Android.Runtime.Register("writeTimestamp", "(Ljava/sql/Timestamp;)V", "GetWriteTimestamp_Ljava_sql_Timestamp_Handler:Java.Sql.ISQLOutputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member WriteTimestamp : Java.Sql.Timestamp -> unit

Parameters

x
Timestamp

the value to pass to the database

Attributes

Exceptions

if a database error occurs.

Remarks

Writes the next attribute to the stream as a java.sql.Timestamp object. Writes the next attribute to the stream as a java.sql.Date object in the Java programming language.

Added in 1.2.

Java documentation for java.sql.SQLOutput.writeTimestamp(java.sql.Timestamp).

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

See also