Windows apps
Collapse the table of content
Expand the table of content

ListViewItems.forEachIndex method

[This documentation is preliminary and is subject to change.]

Applies to: Metro style apps only

Iterates through each index in the selection and calls the specified function for each one.

Syntax


listViewItems.forEachIndex(callback);

Parameters

callback

Type: Function

The function to call for each index in the ListViewItems object. The callback function should take a single parameter, the index of the item.

Return value

This method does not return a value.

Requirements

Minimum supported client

Windows 8 Consumer Preview

Minimum supported server

Windows Server 8 Beta

Namespace

WinJS.UI

Library

Ui.js

See also

ListViewItems

 

 

Build date: 3/7/2012

Community Additions

Show:
© 2017 Microsoft