ListItem.Id property
Gets a value that specifies the list item identifier.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public ReadOnly Property Id As Integer
Get
'Usage
Dim instance As ListItem
Dim value As Integer
value = instance.Id
public int Id { get; }
Property value
Type: System.Int32
Returns a Int32.instance representing the list item identifier.
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.