ContextDataSourceView.ExecuteDelete(IDictionary, IDictionary) 方法

定义

使用指定的键和用于检测冲突的行值执行删除操作。

protected:
 override int ExecuteDelete(System::Collections::IDictionary ^ keys, System::Collections::IDictionary ^ oldValues);
protected override int ExecuteDelete(System.Collections.IDictionary keys, System.Collections.IDictionary oldValues);
override this.ExecuteDelete : System.Collections.IDictionary * System.Collections.IDictionary -> int
Protected Overrides Function ExecuteDelete (keys As IDictionary, oldValues As IDictionary) As Integer

参数

keys
IDictionary

要删除的记录的行键值的字典。

oldValues
IDictionary

一个名称/值对字典,表示数据元素及其原始值,用于检测数据冲突。

返回

从数据源中删除的对象或行数。

适用于