Compartir a través de


IListDataSource.invalidateAll method

Indicates that all previous data obtained from the IListDataAdapter is invalid and should be refreshed.

Syntax

iListDataSource.invalidateAll().done( /* Your success and error handlers */ );

Parameters

This method has no parameters.

Return value

Type: Promise**

A Promise that completes when the data has been completely refreshed and all notifications have been sent.

Remarks

This method makes the IListDataSource re-request its cached items from the IListDataAdapter and generate change notifications for any data that changed.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

IListDataSource