Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Overwrites the data of the specified item.
Syntax
iListDataSource.change(key, newData).done( /* Your success and error handlers */ );
Parameters
key
Type: StringThe key for the item to replace.
newData
Type: ObjectThe new data for the item.
Return value
Type: Promise**
A Promise that contains the IItem that was updated or an EditError if an error was encountered.
Requirements
Minimum WinJS version |
WinJS 3.0 |
Namespace |
WinJS.UI |