Compartir a través de


List.getItem method

Gets a key/data pair for the specified list index.

Syntax

var object = list.getItem(index);

Parameters

  • index
    Type: Number

    The index of value to retrieve.

Return value

Type: Object

An object with .key and .data properties.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Binding

See also

List