Windows-Apps
Inhaltsverzeichnis reduzieren
Inhaltsverzeichnis erweitern
EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

IListDataSource.insertAtStart method

Applies to Windows and Windows Phone

Adds an item to the beginning of the data source.

Syntax


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

Parameters

key [optional]

Type: String

The key that can be used to retrieve the new item, if known.

data

Type: Object

The data for the item to add.

Return value

Type: Promise

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

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

IListDataSource

 

 

Anzeigen:
© 2016 Microsoft