ModelDataSourceView.GetDeleteMethodResult(IDictionary, IDictionary) Method

Definition

Invokes the delete method and gets the result.

protected virtual object GetDeleteMethodResult (System.Collections.IDictionary keys, System.Collections.IDictionary oldValues);

Parameters

keys
IDictionary

The parameters to be used with the DeleteMethod method. If there are no parameters associated with the method, pass null.

oldValues
IDictionary

The values of the row to be deleted.

Returns

The result of the delete method.

Exceptions

The CanDelete property is false.

Applies to

منتج الإصدارات
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1