Edytuj

Udostępnij za pośrednictwem


ModelDataSourceView.GetDeleteMethodResult(IDictionary, IDictionary) Method

Definition

Invokes the delete method and gets the result.

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

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