共用方式為


IResultSet.RowInserted Method

Definition

Retrieves whether the current row has had an insertion.

[Android.Runtime.Register("rowInserted", "()Z", "GetRowInsertedHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool RowInserted ();
[<Android.Runtime.Register("rowInserted", "()Z", "GetRowInsertedHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member RowInserted : unit -> bool

Returns

true if the current row is detected to have been inserted; false otherwise

Attributes

Exceptions

if a database error happens.

Remarks

Retrieves whether the current row has had an insertion. The value returned depends on whether or not this ResultSet object can detect visible inserts.

<strong>Note:</strong> Support for the rowInserted method is optional with a result set concurrency of CONCUR_READ_ONLY

Added in 1.2.

Java documentation for java.sql.ResultSet.rowInserted().

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