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

Library

Base.js

See also

QueryCollection

 

 

Show:
© 2014 Microsoft