Version

Update Method (DataSourceAdapter)

Updates the given data item
Syntax
'Declaration
 
Public Overridable Sub Update( _
   ByVal dataItem As Object, _
   ByVal keys As IDictionary, _
   ByVal values As IDictionary, _
   ByVal oldValues As IDictionary, _
   ByVal callback As DataSourceViewOperationCallback _
) 
public virtual void Update( 
   object dataItem,
   IDictionary keys,
   IDictionary values,
   IDictionary oldValues,
   DataSourceViewOperationCallback callback
)

Parameters

dataItem
The item to update
keys
The keys of the fields that will change
values
The new values for the fields
oldValues
The old values
callback
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also