共用方式為


QueryableDataSourceView.BuildDeleteObject 方法

定義

建立要用於刪除作業的物件。

protected:
 System::Web::UI::WebControls::QueryableDataSourceEditData ^ BuildDeleteObject(System::Collections::IDictionary ^ keys, System::Collections::IDictionary ^ oldValues, System::Collections::Generic::IDictionary<System::String ^, Exception ^> ^ validationErrors);
protected System.Web.UI.WebControls.QueryableDataSourceEditData BuildDeleteObject (System.Collections.IDictionary keys, System.Collections.IDictionary oldValues, System.Collections.Generic.IDictionary<string,Exception> validationErrors);
member this.BuildDeleteObject : System.Collections.IDictionary * System.Collections.IDictionary * System.Collections.Generic.IDictionary<string, Exception> -> System.Web.UI.WebControls.QueryableDataSourceEditData
Protected Function BuildDeleteObject (keys As IDictionary, oldValues As IDictionary, validationErrors As IDictionary(Of String, Exception)) As QueryableDataSourceEditData

參數

keys
IDictionary

要刪除的資料列索引。

oldValues
IDictionary

資料列值,要對其進行評估以偵測資料衝突。

validationErrors
IDictionary<String,Exception>

當 CRUD 作業失敗時,在資料來源中建立的轉換錯誤清單。

傳回

要用於刪除作業的物件。

適用於