共用方式為


ModelDataSourceView.GetDeleteMethodResult(IDictionary, IDictionary) 方法

定義

叫用 delete 方法,並取得結果。

protected:
 virtual System::Object ^ GetDeleteMethodResult(System::Collections::IDictionary ^ keys, System::Collections::IDictionary ^ oldValues);
protected virtual object GetDeleteMethodResult (System.Collections.IDictionary keys, System.Collections.IDictionary oldValues);
abstract member GetDeleteMethodResult : System.Collections.IDictionary * System.Collections.IDictionary -> obj
override this.GetDeleteMethodResult : System.Collections.IDictionary * System.Collections.IDictionary -> obj
Protected Overridable Function GetDeleteMethodResult (keys As IDictionary, oldValues As IDictionary) As Object

參數

keys
IDictionary

要搭配 DeleteMethod 方法使用的參數。 如果沒有任何參數與此方法有關聯,則會傳遞 null

oldValues
IDictionary

要刪除的資料列的值。

傳回

刪除方法的結果。

例外狀況

CanDelete 屬性為 false

適用於