Export (0) Print
Expand All

SP.ListItem.id Property

SharePoint 2010

Last modified: March 07, 2010

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To

Gets a value that specifies the list item identifier.

var value = SP.ListItem.get_id(); 

It must be 0 for a list item in an external list. It must be -1 for list items that have not yet been added to a list.

© 2015 Microsoft