共用方式為


IResultSet.CancelRowUpdates Method

Definition

Cancels the updates made to the current row in this ResultSet object.

[Android.Runtime.Register("cancelRowUpdates", "()V", "GetCancelRowUpdatesHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void CancelRowUpdates ();
[<Android.Runtime.Register("cancelRowUpdates", "()V", "GetCancelRowUpdatesHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member CancelRowUpdates : unit -> unit
Attributes

Exceptions

if a database error happens.

Remarks

Cancels the updates made to the current row in this ResultSet object. This method may be called after calling an updater method(s) and before calling the method updateRow to roll back the updates made to a row. If no updates have been made or updateRow has already been called, this method has no effect.

Added in 1.2.

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

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