Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets an attribute value on all the items in the collection.
Syntax
var queryCollection = queryCollection.setAttribute(name, value);
Parameters
name
Type: stringThe name of the attribute to be set.
value
Type: objectThe value of the attribute to be set.
Return value
Type: QueryCollection
This QueryCollection object.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.Utilities |