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

一個由名稱/值對組成的字典,代表資料元素及其原始值,用來偵測資料衝突。

傳回

從資料來源中刪除的物件或列數。

適用於