Windows-Apps
Inhaltsverzeichnis reduzieren
Inhaltsverzeichnis erweitern
EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

IListDataSource.itemFromIndex method

Applies to Windows and Windows Phone

Retrieves the item at the specified index.

Syntax


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

Parameters

index

Type: Number

A value that is greater than or equal to zero that is the index of the item to retrieve.

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 wasn't found, the promise completes with a value of null.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

IListDataSource

 

 

Anzeigen:
© 2017 Microsoft