ISelection.getRanges method

Gets an array of the index ranges for the selected items.

Syntax

var array = iSelection.getRanges();

Parameters

This method has no parameters.

Return value

Type: Array

An array that contains an ISelectionRange object for each index range in the selection.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ISelection

ListView.selection