Skip to main content
ISelection.getItems method

Applies to Windows and Windows Phone

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 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

See also

ISelection
ListView.selection