EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

IListDataAdapter.moveToEnd method

Applies to Windows and Windows Phone

Moves the specified item to the end of the IListDataAdapter object's data source.

Syntax


iListDataAdapter.moveToEnd(key, indexHint).done( /* Your success and error handlers */ );

Parameters

key

Type: String

The key for the item to move.

indexHint

Type: Number

The index of the item to move, if known.

Return value

Type: Promise

A Promise that contains the IItem that was added or an EditError if an error was encountered.

Remarks

Implementing this method

When implementing this method, you should verify that the item at indexHint has the same key as key, in case the index of the item changed.

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

See also

IListDataAdapter

 

 

Afficher:
© 2014 Microsoft