Skip to main content
List.getItemFromKey method

Applies to Windows and Windows Phone

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 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.Binding

Library

Base.js

See also

List