Skip to main content
List.length property

Applies to Windows and Windows Phone

Gets or sets the length of the list, which is an integer value one higher than the highest element defined in the list.

Syntax


var length = list.length;

Property value

Type: Number

The length of the list.

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