共用方式為


IItem.key property

Gets or sets the key the identifies the item.

Syntax

var key = iItem.key;
iItem.key = key;

Property value

Type: String

The key that identifies the item.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

IItem