LinqDataSourceView.ValidateDeleteSupported(IDictionary, IDictionary) メソッド

定義

削除操作を実行する条件が満たされていることを検証します。

protected:
 virtual void ValidateDeleteSupported(System::Collections::IDictionary ^ keys, System::Collections::IDictionary ^ oldValues);
protected virtual void ValidateDeleteSupported (System.Collections.IDictionary keys, System.Collections.IDictionary oldValues);
abstract member ValidateDeleteSupported : System.Collections.IDictionary * System.Collections.IDictionary -> unit
override this.ValidateDeleteSupported : System.Collections.IDictionary * System.Collections.IDictionary -> unit
Protected Overridable Sub ValidateDeleteSupported (keys As IDictionary, oldValues As IDictionary)

パラメーター

keys
IDictionary

削除するデータ レコードのキー値のディクショナリ。

oldValues
IDictionary

削除する行の値を格納しているディクショナリ。

例外

GroupBy プロパティまたは SelectNew プロパティに値が設定されています。

CanDeletefalseです。

注釈

プロパティまたは プロパティに 以外nullGroupBy値がSelectNew含まれている場合、データを削除することはできません。 詳細については、LinqDataSource.EnableDelete プロパティを参照してください。

適用対象