ModelDataSourceView.GetUpdateMethodResult 方法

定义

调用更新方法和获取结果。

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

参数

keys
IDictionary

UpdateMethod 方法一起使用的参数。 如果没有与方法关联的参数,则传递 null

values
IDictionary

要更新的新行值。

oldValues
IDictionary

要更新的行的旧值。

返回

Object

更新方法的结果。

例外

CanUpdate 属性为 false

适用于