IListDataSource.createListBinding method

Applies to Windows and Windows Phone

Creates an IListBinding that can retrieve items from the IListDataSource, enumerate the contents of the IListDataSource object's data, and optionally register for change notifications.

Syntax


var iListBinding = iListDataSource.createListBinding(notificationHandler);

Parameters

notificationHandler [optional]

Type: IListNotificationHandler

Enables the IListBinding to register for change notifications for individual items obtained from the IListDataSource. If you omit this parameter, change notifications won't be available.

Return value

Type: IListBinding

The new IListBinding.

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

IListDataSource

 

 

Show:
© 2014 Microsoft. All rights reserved.