EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

WinJS.UI.getItemsFromRanges function

Applies to Windows and Windows Phone

Retrieves the items in the specified index range.

Syntax


WinJS.UI.getItemsFromRanges(dataSource, ranges).done( /* Your success and error handlers */ );

Parameters

dataSource

Type: IListDataSource

The data source that contains the items to retrieve.

ranges

Type: Array

An array of ISelectionRange objects that have firstIndex and lastIndex values.

Return value

Type: Promise

A Promise that contains an array of the requested IItem objects.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

Library

Ui.js

 

 

Anzeigen:
© 2014 Microsoft. Alle Rechte vorbehalten.