List.push method

Appends new element(s) to a list, and returns the new length of the list.

Syntax

var number = list.push(value);

Parameters

  • value
    Type: Object

    The element to insert at the end of the list.

Return value

Type: Number

The new length of the list.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Binding

See also

List