ContextDataSourceView.ExecuteDelete(IDictionary, IDictionary) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用指定的鍵及用於偵測衝突的列值執行刪除操作。
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
一個由名稱/值對組成的字典,代表資料元素及其原始值,用來偵測資料衝突。
傳回
從資料來源中刪除的物件或列數。