forEach method

QueryCollection.forEach method

Applies to Windows and Windows Phone

Performs an action on each item in the QueryCollection.

Syntax


var queryCollection = queryCollection.forEach(callbackFn, thisArg);

Parameters

callbackFn

Type: Function

The action to perform on each item.

thisArg

Type: Object

The argument to bind to callbackFn.

Return value

Type: QueryCollection

The QueryCollection.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Utilities

See also

QueryCollection

 

 

Show:
© 2016 Microsoft