SP.ListItem.id Property
Applies to: SharePoint Foundation 2010
In this article
Property Value
Applies To
Remarks
Gets a value that specifies the list item identifier.
var value = SP.ListItem.get_id();
Property Value
Type: Int32
Applies To
Remarks
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.