Bagikan melalui


List.getItemFromKey method

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

Syntax

var object = list.getItemFromKey(key);

Parameters

  • key
    Type: String

    The key of the 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