query method

QueryCollection.query method

Applies to Windows and Windows Phone

Executes a query selector on all the elements in the collection and aggregates the result into a QueryCollection.

Syntax


var queryCollection = queryCollection.query(query);

Parameters

query

Type:

The query selector string.

Return value

Type: QueryCollection

A QueryCollection object containing the aggregate results of executing the query on all the elements in the collection.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Utilities

See also

QueryCollection

 

 

Show:
© 2016 Microsoft