Notes
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Retrieves the item with the specified key.
Syntax
iListDataSource.itemFromKey(key, description).done( /* Your success and error handlers */ );
Parameters
key
Type: StringThe key of the item to retrieve. It must be a non-empty string.
description [optional]
Type: ObjectDomain-specific information that IListDataAdapter can use to improve the retrieval time.
Return value
Type: Promise**
A Promise that provides an IItem that contains the requested item or a FetchError if an error was encountered. If the item was not found, the promise completes with a null value.
Requirements
Minimum WinJS version |
WinJS 3.0 |
Namespace |
WinJS.UI |