List.setAt method

Replaces the value at the specified index with a new value.

Syntax

list.setAt(index, newValue);

Parameters

  • index
    Type: Number

    The index of the value that was replaced.

  • newValue
    Type: Object

    The new value.

Return value

This method does not return a value.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Binding

See also

List