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

名稱/值組的字典,表示資料項目及其原始值,用於偵測資料衝突。

傳回

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

適用於