ISelection.getItems method

Returns an array that contains the items in the selection.

Syntax

iSelection.getItems().done( /* Your success and error handlers */ );

Parameters

This method has no parameters.

Return value

Type: Promise**

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

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ISelection

ListView.selection