QueryableDataSourceView.Update(IDictionary, IDictionary, IDictionary) 方法

定义

执行更新操作。Performs an update operation.

public:
 int Update(System::Collections::IDictionary ^ keys, System::Collections::IDictionary ^ values, System::Collections::IDictionary ^ oldValues);
public int Update (System.Collections.IDictionary keys, System.Collections.IDictionary values, System.Collections.IDictionary oldValues);
override this.Update : System.Collections.IDictionary * System.Collections.IDictionary * System.Collections.IDictionary -> int
Public Function Update (keys As IDictionary, values As IDictionary, oldValues As IDictionary) As Integer

参数

keys
IDictionary

要更新的行的键。The keys of the rows to update.

values
IDictionary

要更新的行的值。The values of the rows to update.

oldValues
IDictionary

为检测数据冲突而计算的行值。The row values to evaluate in order to detect data conflicts.

返回

Int32

已在数据源中更新的行数。The number of rows that were updated in the data source.

适用于