다음을 통해 공유


ISQLInput.ReadTimestamp Method

Definition

Reads the next attribute in the stream and returns it as a java.sql.Timestamp object.

[Android.Runtime.Register("readTimestamp", "()Ljava/sql/Timestamp;", "GetReadTimestampHandler:Java.Sql.ISQLInputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.Timestamp? ReadTimestamp ();
[<Android.Runtime.Register("readTimestamp", "()Ljava/sql/Timestamp;", "GetReadTimestampHandler:Java.Sql.ISQLInputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member ReadTimestamp : unit -> Java.Sql.Timestamp

Returns

the attribute; if the value is SQL NULL, returns null

Attributes

Exceptions

if there is a database error.

Remarks

Reads the next attribute in the stream and returns it as a java.sql.Timestamp object.

Added in 1.2.

Java documentation for java.sql.SQLInput.readTimestamp().

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