Skip to main content
List.setAt method

Applies to Windows and Windows Phone

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

Library

Base.js

See also

List