insertAtEnd method

IListDataAdapter.insertAtStart method

[This documentation is preliminary and is subject to change.]

Applies to: Metro style apps only

Adds the specified key and data to the end of the IListDataAdapter object's data source.

Syntax


iListDataAdapter.insertAtStart(key, data).done( /* Your success and error handlers */ );

Parameters

key

Type: String

A key that can be used to retrieve the new data.

data

Type: Object

The new data to add to the IListDataAdapter object's data source.

Return value

Type: Object

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

Requirements

Minimum supported client

Windows 8 Consumer Preview

Minimum supported server

Windows Server 8 Beta

Namespace

WinJS.UI

See also

IListDataAdapter

 

 

Build date: 2/10/2012

Ajouts de la communauté

AJOUTER
Afficher:
© 2016 Microsoft