List.move method

Applies to Windows and Windows Phone

Moves the value at index to the specified position.

Syntax


list.move(index, newIndex);

Parameters

index

Type: Number

The original index of the value.

newIndex

Type: Number

The index of the value after the move.

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

 

 

Show:
© 2014 Microsoft. All rights reserved.