Edytuj

Udostępnij za pośrednictwem


ModelDataSourceView.GetUpdateMethodResult Method

Definition

Invokes the update method and gets the result.

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

Parameters

keys
IDictionary

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

values
IDictionary

The new values of the row to be updated.

oldValues
IDictionary

The old values of the row to be updated.

Returns

The result of the update method.

Exceptions

The CanUpdate property is false.

Applies to