indexOfKey method
Collapse the table of content
Expand the table of content

GroupsListProjection.indexOfKey method

Applies to Windows and Windows Phone

Returns the index of the first occurrence of a key in a list.

Syntax


var number = groupsListProjection.indexOfKey(key);

Parameters

key

Type: String

The key to locate in the list.

Return value

Type: Number

The index of the first occurrence of a key in a list, or -1 if not found.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Binding

See also

GroupsListProjection

 

 

Show:
© 2017 Microsoft